feat: compact token identity on Pool, Trade, and Charts #1070

Merged
PlasticDigits merged 2 commits from feat/541-token-identity into main 2026-08-17 04:46:22 +00:00
PlasticDigits commented 2026-08-17 04:19:19 +00:00 (Migrated from gitlab.com)

Summary

  • Adds one shared TokenIdentity / PairTokenLinks row on /pool, /trade, and /charts so retailers can copy and open explorer links for both pair legs and the pair contract without a wallet menu or address essay.
  • CW20 / pair hrefs go only through getExplorerAddressUrl (SEC-E10). Native denoms are copy-only. Display invert (#524) reorders chips; payloads stay factory asset_0 / asset_1.
  • Documents invariants T541-1–T541-8 in docs/frontend.md, playbook skills/AGENTS_FRONTEND_TOKEN_IDENTITY.md, and make verify-issue-541. Closes the #188 leftover for pair chips on these pages.

Closes #541

Test plan

  • make verify-issue-541 (unit + scoped page tests + Playwright P4; P1–P3 skip when no pair list)
  • Helper T1–T5 / A1 / A4 / A6 / A7
  • TokenIdentity + PairTokenLinks explorer safety
  • Pool / Trade / Charts #541 describes (including #176 hide + invert-stable payloads)
  • Visual QA on make dev: light + dark, mobile + desktop — row wraps under the select, not over invert pill or ticket CTA
  • Keyboard: tab to copy/explorer; :focus-visible ring; Enter on explorer does not change the selected pair
  • Optional: Playwright P1–P3 against LocalTerra + indexer with a checksummed factory pair (PLAYWRIGHT_SKIP_CHAIN=1 + live pair list)

Closes #541

## Summary - Adds one shared `TokenIdentity` / `PairTokenLinks` row on `/pool`, `/trade`, and `/charts` so retailers can copy and open explorer links for both pair legs and the pair contract without a wallet menu or address essay. - CW20 / pair `href`s go only through `getExplorerAddressUrl` (SEC-E10). Native denoms are copy-only. Display invert (#524) reorders chips; payloads stay factory `asset_0` / `asset_1`. - Documents invariants **T541-1–T541-8** in `docs/frontend.md`, playbook `skills/AGENTS_FRONTEND_TOKEN_IDENTITY.md`, and `make verify-issue-541`. Closes the #188 leftover for pair chips on these pages. Closes #541 ## Test plan - [x] `make verify-issue-541` (unit + scoped page tests + Playwright P4; P1–P3 skip when no pair list) - [x] Helper T1–T5 / A1 / A4 / A6 / A7 - [x] TokenIdentity + PairTokenLinks explorer safety - [x] Pool / Trade / Charts #541 describes (including #176 hide + invert-stable payloads) - [ ] Visual QA on `make dev`: light + dark, mobile + desktop — row wraps under the select, not over invert pill or ticket CTA - [ ] Keyboard: tab to copy/explorer; `:focus-visible` ring; Enter on explorer does not change the selected pair - [ ] Optional: Playwright P1–P3 against LocalTerra + indexer with a checksummed factory pair (`PLAYWRIGHT_SKIP_CHAIN=1` + live pair list) Closes #541
PlasticDigits commented 2026-08-17 04:19:26 +00:00 (Migrated from gitlab.com)

marked this merge request as ready

marked this merge request as **ready**
PlasticDigits commented 2026-08-17 04:46:00 +00:00 (Migrated from gitlab.com)

added 3 commits

  • e91499bf...f53e3bf7 - 2 commits from branch main
  • 64c6dd96 - merge: land #543 USD candle invert onto #541 token identity

Compare with previous version

added 3 commits <ul><li>e91499bf...f53e3bf7 - 2 commits from branch <code>main</code></li><li>64c6dd96 - merge: land #543 USD candle invert onto #541 token identity</li></ul> [Compare with previous version](/PlasticDigits/cl8y-dex-terraclassic/-/merge_requests/352/diffs?diff_id=1964782430&start_sha=e91499bfd6502fbaf0e0788af5f41209ad7e626d)
PlasticDigits commented 2026-08-17 04:46:22 +00:00 (Migrated from gitlab.com)

mentioned in commit c8ab55bcbe

mentioned in commit c8ab55bcbeb2aaa0aabbdd2e4d85e43d2ea433b4
PlasticDigits (Migrated from gitlab.com) merged commit c8ab55bcbe into main 2026-08-17 04:46:22 +00:00
PlasticDigits commented 2026-08-17 04:53:33 +00:00 (Migrated from gitlab.com)

mentioned in issue #543

mentioned in issue #543
PlasticDigits commented 2026-08-17 04:53:45 +00:00 (Migrated from gitlab.com)

mentioned in issue #541

mentioned in issue #541
PlasticDigits commented 2026-08-17 04:53:46 +00:00 (Migrated from gitlab.com)

mentioned in issue #542

mentioned in issue #542
PlasticDigits commented 2026-08-17 04:53:58 +00:00 (Migrated from gitlab.com)

mentioned in issue #545

mentioned in issue #545
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!1070
No description provided.