-
Notifications
You must be signed in to change notification settings - Fork 850
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
Qrcode receiver modal #446
Qrcode receiver modal #446
Conversation
This reverts commit 82346bd.
Great job @portdeveloper !!! The z-index in the footer was added because of the debug page (if not, it goes below the cards) But it seems that z-10 works for both (debug page, and modal :)) Also made some little tweaks: move copy address up in the menu and also use outline icons (the copy icon was "too solid"). Now let's try this PR and #440 and see what we like the most |
this is great! 🔥🫡🔥 thanks sers! |
(I like the version with the modal the best!) |
packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton.tsx
Show resolved
Hide resolved
Tysm @portdeveloper looking great !! 🙌 Even I like this more as compared to #440 and this one will be more visible too while presenting |
I like this one better than #440, more compact and clean. I feel both use cases "Copy address" and "View QR code" work better with this design. Great job @portdeveloper !! 🙌 |
packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton.tsx
Outdated
Show resolved
Hide resolved
Looks good! Noticed a bug - when I click to the address on modal, blockexplorer is opened in background. But I expect that the address just be copied 2023-07-26.12.12.48.mov |
Yep, not sure about this. The component links to the chain blockexplorer for the displayed address. In localhost, it links to the local blockexplorer, but in live chains, it goes to the corresponding blockexplorer (which can be handy).Options:
|
I like this! Adding "View on block explorer" with the arrow-top-right icon, between QR & Disconnect menu items. And for now, we can |
lgtm 👍 |
Let's wait until #455 is merged. We should add the new shadows and the new menu item sizes here too |
#455 was merged, so I applied the styles from it to the new dropdown (shadows, sizes, etc) ready to merge when @technophile-04 or @rin-st validate |
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.
Love this !! Looking very clean and nice !!
Looks great! Noticed one micro bug - when you click on copy address, it blinks when content of button changes. First one - click. Second - not. 2023-07-27.22.49.05.movWe can probably fix it later |
Good eye @rin-st !! haha It's the :active pseudo-class when using daisy's Anyway, let's merge this, and maybe we can rethink using the menu / menu-item classes here in another PR |
Great job @portdeveloper ;) And thank you all for the review!! |
Thanks! I am honored :) |
Description
This PR removes the QR code SVG from the dropdown list, and adds a button to open a modal. See #440 for more details.
chrome_KkvCJonqld.mp4
I had to remove the z-index from the Footer.tsx as I could only make it work like that. Open to any other suggestions.
Additional Information
Related Issues
_Closes #237
Note: If your changes are small and straightforward, you may skip the creation of an issue beforehand and remove this section. However, for medium-to-large changes, it is recommended to have an open issue for discussion and approval prior to submitting a pull request.
Your ENS/address: portdev.eth