-
Notifications
You must be signed in to change notification settings - Fork 9
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
Wallet fee options #217
Wallet fee options #217
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.
This is looking great!
Just two nitpicks:
- The "Refresh Balance" button should be removed IMO
We should take inspiration from https://sequence.app and streamline this. I think it's perfectly fine to just fetch the fee options and balances upon initially entering the view. If we want them to update in real time in case the user sends currency to his wallet we could have the data being fetched by a react-query hook with a 15-30 second staleTime for the cache.
- I'm noticing that the back button at the top is disabled in favor of the cancel button. I think we can go all the way and completely hide that back button since it serves no purpose.
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.
- Add TokenImage for Fee options
- Just use a borderWidth="thick" and borderColor="active" (i think) to specify selected option rather than gradient purple
@SamueleA I removed the refresh button + added react-query to fetch balances every 10 seconds, I wanted to keep the button opacity like this instead of removing, otherwise UI looks a bit jumpy :D @corbanbrook I added the image + border thingy latest Screen.Recording.2024-12-17.at.19.39.14.movalso updated https://kit-qa.pages.dev/ |
* WIP * Check for collection logo image * Make collection detail view image loader match container width * Disable back button in conformation screen * Add missing border radius for collection detail list item * Update fee option hook to allow last registered handler to be triggered * Show txn pending state in confirmation view * Fix zeroAddress and null case for native token fee option * Remove unnecessary id * Remove logs * Update transaction confirmation and fee option UIs
No description provided.