feat: use currency input in swap flows#2322
Merged
Merged
Conversation
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
* feat: add BTC denomination toggle to currency input * fix: auto switch decimal bitcoin input to BTC * chore: address feedback on currency input field (#2371) * chore: address feedback on currency input field * feat: make currency input units clickable * fix: separate currency and unit click targets * fix: remove persistent unit toggle highlight * fix: tighten currency input unit spacing * fix: make alternate bitcoin amount clickable * fix: align context amount unit spacing --------- Co-authored-by: saunter <68239231+stackingsaunter@users.noreply.github.com> --------- Co-authored-by: Roland <33993199+rolznz@users.noreply.github.com>
rolznz
added a commit
that referenced
this pull request
May 27, 2026
* feat: use currency input in send flows * feat: use currency input in swap flows (#2322) * feat: use currency input in swap flows * feat: add BTC denomination toggle to currency input (#2367) * feat: add BTC denomination toggle to currency input * fix: auto switch decimal bitcoin input to BTC * chore: address feedback on currency input field (#2371) * chore: address feedback on currency input field * feat: make currency input units clickable * fix: separate currency and unit click targets * fix: remove persistent unit toggle highlight * fix: tighten currency input unit spacing * fix: make alternate bitcoin amount clickable * fix: align context amount unit spacing --------- Co-authored-by: saunter <68239231+stackingsaunter@users.noreply.github.com> --------- Co-authored-by: Roland <33993199+rolznz@users.noreply.github.com> --------- Co-authored-by: Roland <33993199+rolznz@users.noreply.github.com> --------- Co-authored-by: Roland <33993199+rolznz@users.noreply.github.com>
rolznz
added a commit
that referenced
this pull request
May 27, 2026
* feat: add currency input to receive flows * feat: use currency input in send flows (#2321) * feat: use currency input in send flows * feat: use currency input in swap flows (#2322) * feat: use currency input in swap flows * feat: add BTC denomination toggle to currency input (#2367) * feat: add BTC denomination toggle to currency input * fix: auto switch decimal bitcoin input to BTC * chore: address feedback on currency input field (#2371) * chore: address feedback on currency input field * feat: make currency input units clickable * fix: separate currency and unit click targets * fix: remove persistent unit toggle highlight * fix: tighten currency input unit spacing * fix: make alternate bitcoin amount clickable * fix: align context amount unit spacing --------- Co-authored-by: saunter <68239231+stackingsaunter@users.noreply.github.com> --------- Co-authored-by: Roland <33993199+rolznz@users.noreply.github.com> --------- Co-authored-by: Roland <33993199+rolznz@users.noreply.github.com> --------- Co-authored-by: Roland <33993199+rolznz@users.noreply.github.com> * fix: tab highlight on currency input field buttons * fix: undo incorrect copy change * chore: undo unrelated change * fix: limit min/max validation to 2 decimal places * fix: input max amounts and context rows based on whether node has channel management * fix: rename spending balance to lightning balance * fix: rename spending balance to lightning balance * fix: re-add anchor reserve alert to swap page * fix: remove autocomplete from currency input field * fix: number of decimals in getModeBound * fix: remove important tailwind modifier --------- Co-authored-by: Roland <33993199+rolznz@users.noreply.github.com> Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #2319.
Summary
CurrencyInputField.CurrencyInputField.Stack
Validation
cd frontend && yarn tsc:compilecd frontend && yarn lint