fix: rank economic pairs first in pickers and scale quote volume (#534) #1067

Merged
PlasticDigits merged 2 commits from fix/534-pair-selector-catalog into main 2026-08-17 03:37:49 +00:00
PlasticDigits commented 2026-08-17 01:09:33 +00:00 (Migrated from gitlab.com)

Closes #534

Summary

  • Empty pair browse (Trade / Limits / Charts) now ranks economic markets first, groups UST1 pairs together, and lists faucet gems last under a Test pairs divider.
  • 24h quote volume badges (and pool card vol) format volume_quote_24h with quote-token decimals, so UST1/USTR no longer shows VOL 19,297,048T.
  • Bare /trade auto-pick and Swap token empty browse use the same catalog. Typed pair search stays relevance/haystack order.

Invariants P534-1–P534-8 in docs/frontend.md. Playbook: skills/AGENTS_FRONTEND_PAIR_CATALOG_RANK.md. Verify: make verify-issue-534.

Test plan

  • make verify-issue-534
  • Open /trade pair combobox: UST1/cUSTC, UST1/USTR, cLUNC/UST1 adjacent at the top; gems under Test pairs
  • Same order on /limits and /charts pair menu
  • UST1/USTR vol badge is human USTR (no T compact for ordinary flow)
  • Type EMBER in pair search: relevance/haystack still surfaces gem pairs
  • Swap pay/receive empty list: LUNC/USTC/UST1/… before gems
  • Deep link /trade/:pairAddr still honors the URL
Closes #534 ## Summary - Empty pair browse (Trade / Limits / Charts) now ranks **economic markets first**, groups UST1 pairs together, and lists faucet gems last under a **Test pairs** divider. - 24h quote volume badges (and pool card vol) format `volume_quote_24h` with **quote-token decimals**, so UST1/USTR no longer shows `VOL 19,297,048T`. - Bare `/trade` auto-pick and Swap token empty browse use the same catalog. Typed pair search stays relevance/haystack order. Invariants **P534-1–P534-8** in [`docs/frontend.md`](docs/frontend.md#pair-catalog-rank). Playbook: [`skills/AGENTS_FRONTEND_PAIR_CATALOG_RANK.md`](skills/AGENTS_FRONTEND_PAIR_CATALOG_RANK.md). Verify: `make verify-issue-534`. ## Test plan - [ ] `make verify-issue-534` - [ ] Open `/trade` pair combobox: UST1/cUSTC, UST1/USTR, cLUNC/UST1 adjacent at the top; gems under **Test pairs** - [ ] Same order on `/limits` and `/charts` pair menu - [ ] UST1/USTR vol badge is human USTR (no `T` compact for ordinary flow) - [ ] Type `EMBER` in pair search: relevance/haystack still surfaces gem pairs - [ ] Swap pay/receive empty list: LUNC/USTC/UST1/… before gems - [ ] Deep link `/trade/:pairAddr` still honors the URL
PlasticDigits commented 2026-08-17 01:09:44 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
PlasticDigits commented 2026-08-17 03:37:33 +00:00 (Migrated from gitlab.com)

added 6 commits

  • b9484c06...c4c2b78d - 5 commits from branch main
  • c9a78d8c - merge: keep verify-issue-534 with 536/537 Makefile targets

Compare with previous version

added 6 commits <ul><li>b9484c06...c4c2b78d - 5 commits from branch <code>main</code></li><li>c9a78d8c - merge: keep verify-issue-534 with 536/537 Makefile targets</li></ul> [Compare with previous version](/PlasticDigits/cl8y-dex-terraclassic/-/merge_requests/349/diffs?diff_id=1964734908&start_sha=b9484c0607f7414370d2507020699b3c2a590395)
PlasticDigits commented 2026-08-17 03:37:49 +00:00 (Migrated from gitlab.com)

mentioned in commit 61f204b7a2

mentioned in commit 61f204b7a27875f49fb866a3ec0b7d0d6efd1029
PlasticDigits (Migrated from gitlab.com) merged commit 61f204b7a2 into main 2026-08-17 03:37:49 +00:00
PlasticDigits commented 2026-08-17 03:42:15 +00:00 (Migrated from gitlab.com)

mentioned in issue #534

mentioned in issue #534
PlasticDigits commented 2026-08-17 03:42:26 +00:00 (Migrated from gitlab.com)

mentioned in issue #540

mentioned in issue #540
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
code/cl8y-dex-terraclassic!1067
No description provided.