Skip to content

Conversation

@NeOMakinG
Copy link
Collaborator

@NeOMakinG NeOMakinG commented Jan 22, 2026

Description

Attempt at fixing the wallet import when quitting by closing the drawer instead of going to the wallet view

Issue (if applicable)

closes #11142

Risk

Low

High Risk PRs Require 2 approvals

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

Testing

TBD

Engineering

Operations

  • 🏁 My feature is behind a flag and doesn't require operations testing (yet)

Screenshots (if applicable)

Summary by CodeRabbit

  • Bug Fixes

    • Improved transaction signature handling consistency in Solana signing operations
  • Chores

    • Migrated build system from npm to Yarn
    • Optimized build configuration for package delivery modes

✏️ Tip: You can customize this high-level summary in your review settings.

Minimoi and others added 4 commits January 21, 2026 17:05
…en attempted

Add saveAttemptedRef to prevent duplicate wallet saves when both handleViewWallet
and handleClose could trigger saveAndSelectWallet. The ref is checked at the
start of saveAndSelectWallet and set to true before proceeding with the save.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…) on mount

This ensures the wallet is saved immediately when the CreateSuccess screen
renders, rather than only when the user clicks the "View wallet" button.
The existing saveAttemptedRef prevents duplicate save attempts.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…ady been

Add hasConnectedRef to prevent duplicate wallet connection attempts in
ImportSuccess component. This follows the same pattern used in ManualBackup.tsx.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…ction()

Adds a useEffect hook that calls handleWalletConnection() on component mount.
This ensures the wallet is connected immediately when ImportSuccess mounts,
rather than only when the user clicks the close/view wallet button.

Duplicate calls are prevented by the existing hasConnectedRef guard in
handleWalletConnection().

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 22, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch auto-claude/010-clicking-off-of-view-wallet-in-create-wallet-flow-

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@NeOMakinG NeOMakinG changed the title Fix Mobile Wallet Persistence on View Wallet Screen Dismissal fix: attempt at fixing wallet import on mobile Jan 22, 2026
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.

Clicking off of view wallet in create wallet flow should still allow users newly created/improted wallet to exist.

2 participants