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

Automatically connect to previously used wallet for a given chain context #1913

Merged
merged 3 commits into from
Apr 18, 2024

Conversation

artursapek
Copy link
Collaborator

@artursapek artursapek commented Apr 10, 2024

Addresses #1800

This change moves all the wallet connection logic out of WalletModal (☺️) as well as using a lil' localStorage magic to automatically do this when we select a chain, if the user has done it before.

Screen.Recording.2024-04-10.at.3.19.55.PM.mov

TODO

  • cover the case where there is a default chain in bridgeDefaults

Copy link

netlify bot commented Apr 10, 2024

Deploy Preview for wormhole-connect-mainnet ready!

Name Link
🔨 Latest commit 453d8f6
🔍 Latest deploy log https://app.netlify.com/sites/wormhole-connect-mainnet/deploys/66217ccea9855e000857b2ac
😎 Deploy Preview https://deploy-preview-1913--wormhole-connect-mainnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Apr 10, 2024

Deploy Preview for wormhole-connect ready!

Name Link
🔨 Latest commit 453d8f6
🔍 Latest deploy log https://app.netlify.com/sites/wormhole-connect/deploys/66217cceadbe40000875ca6b
😎 Deploy Preview https://deploy-preview-1913--wormhole-connect.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Apr 10, 2024

Deploy Preview for wormhole-connect-builder ready!

Name Link
🔨 Latest commit 453d8f6
🔍 Latest deploy log https://app.netlify.com/sites/wormhole-connect-builder/deploys/66217cce41ec330008762fec
😎 Deploy Preview https://deploy-preview-1913--wormhole-connect-builder.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

yuli-ferna
yuli-ferna previously approved these changes Apr 10, 2024
@artursapek artursapek merged commit 0587de1 into development Apr 18, 2024
19 checks passed
@artursapek artursapek deleted the auto-connect-wallet branch April 18, 2024 20:29
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.

UX: Connect should auto-connect to the wallet you last used for a chain
3 participants