-
Notifications
You must be signed in to change notification settings - Fork 121
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
Namadillo: Top Navigation improvements #1475
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.
Nice!
|
||
{unshieldingModalOpen && ( | ||
<UnshieldAssetsModal onClose={() => setUnshieldingModalOpen(false)} /> | ||
)} |
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.
We could use the same navigation structure of backgroundLocation
because we have other Shield buttons, then it'll be easier to reuse this implementation :)
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 tried to keep it simple for now, do we have any other place that we have such a generic "shield" button that would justify moving this piece to a route?
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.
The yellow banner on the sidebar
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 remember that it will be removed and re-added when we have the "Shield All" functionality
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.
Oh, you are right, thanks for reminding it!
We also have this banner on Transparent Overview. But we need to check with @ChrisHoltDesign if we need to update this action as well
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.
So that 'shield button' in the transparent assets section should ideally load the 'Internal shield option', not the IBC version.
As it's an action to shield assets that are in your Namada transparent account
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.
Thanks Chris!
So we are good having this modal only on top navigation :)
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.
Correct :)
@pedrorezende @euharrison This button should also open up the modal Lets change the text to 'shield assets' also |
Closes #1409