-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dApp: Deposit/Withdrawal form improvements - visuals (#687)
Closes: #629 Closes: #652 Closes: #637 Closes: #570 Closes: #630 ### Changes: - Adjusted styles: spacings, button styles, input - Form input is automatically focused as the form appears - Added stake form input placeholder - Added withdrawal form input placeholder - Disabled submit button when amount is invalid - Removed fiat-converted amount displayed below the input - Displayed validation errors as `Alert` component - Adjusted validation strategy - Updated input displayed value formatting function to use `bigIntToUserAmount` instead of `fixedPointNumberToString`: - The `fixedPointNumberToString` aggressively trims trailing zero values conflicting with the way `NumericFormat` component does it. The `bigIntToUserAmount` seems to fit better here - Updated copies - Conditionally styled balance amount for invalid state - Added suffix currency symbol value https://github.com/user-attachments/assets/17c203ae-0b6d-45e6-a47b-f506609d24b9
- Loading branch information
Showing
14 changed files
with
155 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.