-
Notifications
You must be signed in to change notification settings - Fork 630
[MNY-316] SDK: directly show token selection after wallet connection in bridge widgets #8580
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 0ff8b9f The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
WalkthroughAdds a changeset entry and modifies the wallet connection handler so connecting a wallet on the Choose Payment screen no longer triggers back-navigation; the onConnect path now selects the wallet and proceeds to the next (token selection) screen. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
🔇 Additional comments (2)
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
Comment |
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
size-limit report 📦
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8580 +/- ##
=======================================
Coverage 53.24% 53.24%
=======================================
Files 922 922
Lines 61415 61414 -1
Branches 4026 4026
=======================================
Hits 32699 32699
+ Misses 28618 28617 -1
Partials 98 98
🚀 New features to boost your workflow:
|
Merge activity
|
…in bridge widgets (#8580) <!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR modifies the behavior of the wallet connection process in the `WalletSwitcherConnectionScreen`. After a wallet is connected, it skips the "Choose Payment" screen and directly moves to the token selection screen, enhancing user experience in bridge widgets. ### Detailed summary - Updated the `onConnect` function to remove the call to `props.onBack()`, preventing the return to the "Choose Payment" screen. - Changed the flow to directly transition to the token selection screen after wallet connection. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved wallet connection flow in bridge widgets. After connecting a wallet on the Choose Payment screen, users are now directed directly to token selection instead of returning to the payment screen. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
9f9ce40 to
0ff8b9f
Compare

PR-Codex overview
This PR modifies the behavior of the wallet connection process within the
WalletSwitcherConnectionScreen. Upon connecting a wallet, it now directly transitions to the token selection screen, bypassing the intermediate "Choose Payment" screen.Detailed summary
onConnectfunction to remove the call toprops.onBack(), allowing direct navigation to the token selection screen after wallet connection.Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.