-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: CP-9360 wallet selector rework #68
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like where this is going, please let me know when it's ready for review (lots of commented code / console.logs at the moment)👏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome! I'm not sure about the coin-flip animation on hover, but other than that I really like it 🎉
@@ -4,4 +4,7 @@ export enum WalletExtensionType { | |||
UNKNOWN = 'UNKNOWN', | |||
RABBY = 'RABBY', | |||
COINBASE = 'COINBASE', | |||
PHANTOM = 'PHANTOM', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't really make Phantom appear, I guess they don't announce themselves? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm checking that when I get home later today.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, let's remove the console.logs 😬
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great, however (as Michal mentioned) there are some console logs in the changes.
Description
Our old method how we stored the different Wallet Extension has been deprecated we could not detect a lot of them and made the whole thing messy.
Changes
Now we are using EICP-6963 to detect them and add them to the providers list. We have an updated UI as well.
Testing
Install multiple extensions -> go to the playground and try to connect
Screenshots:
Screen.Recording.2024-10-17.at.20.02.45.mov
Checklist for the author
Tick each of them when done or if not applicable.