-
Notifications
You must be signed in to change notification settings - Fork 54
[1319.1] Change Network toggler - BASE PR (WIP) #1344
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.
@W3stside Great you started this. Here a couple of suggestions:
|
isn't from this PR, this is the behaviour all the time unfortunately. but it goes away quickly on other branches when switching. i think it's accentuated with this pr tho. will investigate |
Yes that's the idea, for now this is very much as u mentioned a proof of concept and leaving it in here was weird.
sure, but wont change anything here, i think it's best in a follow up PR to just make the pretty comp with all the choices and nothing hooked up.
good idea, imho we shouldn't show it at all until they connect. best not to show too many buttons/things to do before they're even connected. the main CTA when disconnected is the big ass bright orange CONNECT WALLET button and we should keep that the main focus
good catch, definitely sth to add as a banner maybe since it's close to where this is already happening (header) at least in web. i think even with the "header" in the footer in mobile we can leave it as a top level banner warning |
This issue was mentioned in #1061 (case 1) |
I think I will start adding comments one by one here.
The same is with imToken wallet |
The next case is that a lot of wallets do not support several networks. And, as expected, nothing happens when I press on networks buttons in the app. |
There is no network switcher in a mobile view It would be nice to add it to test changes in wallets' integrated browsers |
Super nice. I like it. |
* Move single hop toggle GA event Move GA event from setSingleHopOnly hook to toggle function * Fix code style issues with ESLint * refactor ternary operator out Co-authored-by: Lint Action <[email protected]>
closed in favour of the latest uni stuff |
BASE PR - several will follow
Summary
Part of #1319 - will be broken down into a couple more PRs likely
Implements the core network switching logic and only a simple component, no real styling, no edge case testing, no real sexy UX
To Test
Next: