-
Notifications
You must be signed in to change notification settings - Fork 1
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
[UX] Improve clarity of token exchange rate in payment requests (total amount section) #165
Comments
Here is the solution I would like to offer. I explained it in the video. Screen.Recording.2024-12-24.at.13.49.20.mov |
Thanks @FREZZZBE! Question - do you think it is clear to the user that the right value below the near input field represents the current NEAR token price? Also I like the refresh concept but don't think I'd say "outdated" - maybe just refresh to get latest or something. @Megha-Dev-19 please confirm if this would work. |
It wasn’t clear to me at first, but once I started using it, I understood. I don’t want to make it more complicated, and I believe that if you’re familiar with crypto, seeing a value around $100k near the Bitcoin logo would naturally indicate it’s the price of Bitcoin. @ori-near after discussion with @Megha-Dev-19, we simplified it and how it works:
|
Background
Currently, within the Payments page, the "Create Payment Request" screen displays the equivalent token value for a given USD amount. For example, if a user selects NEAR token and enters $10 for the total amount, and the current NEAR price is $6.21, the user sees this:
We currently fetch the rate from CoinGecko (using the API endpoint: https://api.coingecko.com/api/v3/simple/price?ids=near&vs_currencies=usd) when the user initially loads a particular page, such as Payments page. The price is then cached for the entire session, meaning it will remain the same even if the actual exchange rate changes.
Our current approach and UI present a couple of problems:
User Story
As a user who creates a payment request, I need to want to understand how the token rate is calculated and be able to refresh it manually so that I can have the most accurate payment amount.
Acceptance Criteria
Resources & Additional Notes
Priority
🔴 P0 : Critical
The text was updated successfully, but these errors were encountered: