Skip to content

feat: add reverse quote support and refactor amount input#140

Open
yasha-meursault wants to merge 10 commits intodevfrom
dev-reverse-quote
Open

feat: add reverse quote support and refactor amount input#140
yasha-meursault wants to merge 10 commits intodevfrom
dev-reverse-quote

Conversation

@yasha-meursault
Copy link
Copy Markdown
Contributor

Replace Amount/NumericInput/ReceiveAmount with unified AmountField, add reverse quote flow to SDK and useQuote hook, remove unused components.

Replace Amount/NumericInput/ReceiveAmount with unified AmountField,
add reverse quote flow to SDK and useQuote hook, remove unused components.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
trainapp Ready Ready Preview Apr 22, 2026 1:48pm

Request Review

… type

- Delete quoteDirectionStore; derive direction from populated form field (amount vs receiveAmount)
- Enforce one-populated-at-a-time invariant via atomic setValues on every write
- Drop QuoteDirection type from @train-protocol/react (unused internally), inline in app
- Add NumberFlow sig-digit caps (primary 10, secondary 12) with `...` suffix for truncation
- Use text-primary-text theme token in wallet message headers
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.

2 participants