Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samples/add improvements #1275

Merged
merged 61 commits into from
Jan 24, 2024
Merged

Samples/add improvements #1275

merged 61 commits into from
Jan 24, 2024

Conversation

jakubuid
Copy link
Contributor

@jakubuid jakubuid commented Jan 10, 2024

  • Fix session request adapter to parse the expiry field
  • Add better checks for session request expiry
  • Add expiry for session proposals
  • Add extended logging for all requests and events
  • Expose new callbacks to SignInterface:
    • onProposalExpired(proposal: Sign.Model.ExpiredProposal)
    • onRequestExpired(request: Sign.Model.ExpiredRequest)
  • Add new callbacks to PairingInterface:
    • onPairingExpired(expiredPairing: Core.Model.ExpiredPairing)
    • onPairingState(pairingState: Core.Model.PairingState)
  • Add loaders to user action buttons
  • Add 10s timeout for Relay ACK publish method
  • Add missing try and catch blocks
  • Add connection is restore banner
  • Add missing loaders to samples

Copy link

github-actions bot commented Jan 10, 2024

Qodana Community for Android

43 new problems were found

Inspection name Severity Problems
Constant conditions 🔶 Warning 27
Serializable object must implement 'readResolve' 🔶 Warning 10
Control flow with empty body 🔶 Warning 1
JUnit malformed declaration 🔶 Warning 1
Constant conditions ◽️ Notice 3
Argument could be converted to 'Set' to improve performance ◽️ Notice 1
View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

  1. Register at Qodana Cloud and configure the action
  2. Use GitHub Code Scanning with Qodana
  3. Host Qodana report at GitHub Pages
  4. Inspect and use qodana.sarif.json (see the Qodana SARIF format for details)

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/[email protected]
        with:
          upload-result: true
Contact Qodana team

Contact us at [email protected]

Copy link

github-actions bot commented Jan 11, 2024

Qodana Community for Android

52 new problems were found

Inspection name Severity Problems
Constant conditions 🔶 Warning 37
Serializable object must implement 'readResolve' 🔶 Warning 10
Control flow with empty body 🔶 Warning 1
JUnit malformed declaration 🔶 Warning 1
Constant conditions ◽️ Notice 2
Argument could be converted to 'Set' to improve performance ◽️ Notice 1
View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

  1. Register at Qodana Cloud and configure the action
  2. Use GitHub Code Scanning with Qodana
  3. Host Qodana report at GitHub Pages
  4. Inspect and use qodana.sarif.json (see the Qodana SARIF format for details)

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/[email protected]
        with:
          upload-result: true
Contact Qodana team

Contact us at [email protected]

…nV2 into samples/add_improvements

# Conflicts:
#	sample/wallet/src/main/kotlin/com/walletconnect/sample/wallet/ui/routes/composable_routes/connections/ConnectionsRoute.kt
Copy link
Contributor

@Elyniss Elyniss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Please make smaller PRs next time, tho

@jakubuid jakubuid merged commit 362ff73 into develop Jan 24, 2024
15 checks passed
@jakubuid jakubuid deleted the samples/add_improvements branch January 24, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants