Skip to content
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

Merged
merged 11 commits into from
Dec 17, 2024
Merged

Wallet fee options #217

merged 11 commits into from
Dec 17, 2024

Conversation

tolgahan-arikan
Copy link
Contributor

No description provided.

@tolgahan-arikan tolgahan-arikan requested a review from a team as a code owner December 17, 2024 13:12
Copy link
Contributor

@SamueleA SamueleA left a 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!

image

Just two nitpicks:

  1. 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.

  1. 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.

Copy link
Collaborator

@corbanbrook corbanbrook left a 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

@tolgahan-arikan
Copy link
Contributor Author

@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.mov

also updated https://kit-qa.pages.dev/

@corbanbrook corbanbrook merged commit 7fe369c into master Dec 17, 2024
1 check passed
@corbanbrook corbanbrook deleted the wallet-fee-options branch December 17, 2024 17:18
github-actions bot pushed a commit that referenced this pull request Dec 17, 2024
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants