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

Adapt AmountToSend #16703

Open
Tracked by #16696
Khushboo-dev-cpp opened this issue Nov 4, 2024 · 1 comment · May be fixed by #16819
Open
Tracked by #16696

Adapt AmountToSend #16703

Khushboo-dev-cpp opened this issue Nov 4, 2024 · 1 comment · May be fixed by #16819
Assignees

Comments

@Khushboo-dev-cpp
Copy link
Contributor

Khushboo-dev-cpp commented Nov 4, 2024

Tasks created to adapt the AmountToSend to follow new simple send designs https://www.figma.com/design/FkFClTCYKf83RJWoifWgoX/Wallet-v2?node-id=25202-37778&t=x7Ukt7ixxp7Ji84n-4
https://www.figma.com/design/FkFClTCYKf83RJWoifWgoX/Wallet-v2?node-id=25660-238506&t=x7Ukt7ixxp7Ji84n-4

Enhancements:

  1. Removing the Recipient will receive side of the header leaves more room for ‘Amount to send’ value entry. This means progressive pt size reduction for longer digits is not required. Instead we should block entry when header area is filled given there is adequate room for 99% of realistic entries.
  2. The user should only be able to enter the maximum number of decimals specified by the token contract however.
  3. In case of max amount being clicked in case of ETH, this input area should display a tooltip with text "X ETH reserved for gas"
@Khushboo-dev-cpp Khushboo-dev-cpp changed the title Adapt Network Selector Adapt AmountToSend Nov 4, 2024
@micieslak
Copy link
Member

AmountToSend seems to be good candidate to be reused here without any significant API changes. Visual layout needs to be adjusted. AmountToReceive, not refactored so far can be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Code Review
Development

Successfully merging a pull request may close this issue.

3 participants