feat: swap pro order panel slider, stable-coin payment and limit rate precision (OK-57853)#12546
Open
haicongliao wants to merge 31 commits into
Open
feat: swap pro order panel slider, stable-coin payment and limit rate precision (OK-57853)#12546haicongliao wants to merge 31 commits into
haicongliao wants to merge 31 commits into
Conversation
…tity placeholder (OK-57853)
…nt display (OK-57853)
…stable (OK-57853)
haicongliao
requested review from
ezailWang,
originalix,
revan-zhang and
sidmorizon
as code owners
July 18, 2026 12:23
Contributor
Author
zhaono1
previously approved these changes
Jul 18, 2026
zhaono1
enabled auto-merge (squash)
July 18, 2026 13:35
originalix
reviewed
Jul 18, 2026
originalix
reviewed
Jul 18, 2026
auto-merge was automatically disabled
July 18, 2026 16:02
Head branch was pushed to by a user without write access
originalix
reviewed
Jul 18, 2026
originalix
reviewed
Jul 18, 2026
…ty whitelist (OK-57853)
zhaono1
enabled auto-merge (squash)
July 19, 2026 03:54
originalix
reviewed
Jul 19, 2026
auto-merge was automatically disabled
July 19, 2026 11:35
Head branch was pushed to by a user without write access
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.


Summary
Jira: OK-57853
Rework the Swap Pro order panel per the 6.6 design:
Sub-1 limit rate precision family (many-leading-zeros tokens no longer collapse to "0"):
clampLimitRateDecimalsin shared numberUtils, applied at the market-rate source atom, rate storage, price display, order card and order detail modal; sub-1 rates always keep leading zeros + at least 6 significant digits.Action button & review dialog:
limit.marketable_fill_tip, gated on the quote's own limit protocol and pair-matched rates).Also: per-direction amount stash with context fingerprints (no cross trade-type/pay-token resurrection), Android Nitro hybridRef re-fire guard for SegmentSlider, quote input debounce constants (300ms Pro / 500ms base), left/right column bottom alignment, trade list row tuning (5/9 rows).
Test Plan
yarn agent:check --profile commitpasses;jest packages/kit/src/views/Swap346/346 passes.🤖 Generated with Claude Code