Skip to content

Conversation

@0xAlunara
Copy link
Collaborator

@0xAlunara 0xAlunara commented May 16, 2025

Adds a smol little 'balance' widget. We're going to use it in a few places, most notably for user inputs. In short, it shows the balance of a specific token (symbol). The balance itself is optional, as there's a chance that we're waiting for a reply from an asynchronous call to a contract.

The "Max" button comes in three varieties:

  1. off: There is no clickable button; it's read-only.
  2. balance: You can click the balance if it's available.
  3. button: There's a blue "Max" button on the far right.

image
image
image

@vercel
Copy link

vercel bot commented May 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
curve-dapp ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 20, 2025 2:09pm
curve-dapp-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 20, 2025 2:09pm

OnlyJousting
OnlyJousting previously approved these changes May 16, 2025
OnlyJousting
OnlyJousting previously approved these changes May 16, 2025
0xtutti
0xtutti previously approved these changes May 19, 2025
@0xAlunara 0xAlunara merged commit 37edbb8 into main May 20, 2025
11 checks passed
@0xAlunara 0xAlunara deleted the feat/balance-widget branch May 20, 2025 14:46
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.

5 participants