fix(frontend): keep Treasury Assets values readable on iPad #40
No reviewers
Labels
No labels
bug
docs
documentation
duplicate
enhancement
frontend
good first issue
help wanted
invalid
missing-implementation
priority
medium
product
QA
question
testing
UX
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/ustr-cmm!40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "21-treasury-assets-ipad-layout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #21.
Supersedes !38: that branch dropped Playwright
data-testidhooks and some #18 skill cross-links. This MR keeps both.Summary
lg), and 3-col only atxl(1280+). Loading skeleton sharesTREASURY_ASSETS_GRID_CLASS.xl) and wrap primary / USD / CR /NAV incompleteinstead of CSS ellipsis. iPad has no hover.CR $0.00 · UST1, cUSTC omitted).formatPoolSharerounding is unchanged. Card-only large-spot display decimals do not feed CR/NAV.treasuryAssetDisplay.ts. Playbook:skills/frontend-treasury-assets-layout/SKILL.md.frontend/e2e/treasury-assets-layout.spec.ts(375 / 768 / 834 / 1024 / 1280 column counts, no ellipsis, no page X-scroll, scanner links).Display-only. Diff does not touch
treasuryRatios,lpNav, available-supply, tokenlist allowlist, or on-chain queries.Test plan
cd frontend && npm test && npm run check(99 tests)npm run test:e2ewith--workers=5against a live Vite server (16 passed)/treasuryat 375: 1-col, no page X-scroll/treasuryat 768 / 834 / 1024: 2-col (not 3 at 1024), full100% of pool/98.32% of pool, full CR haircut lines including$0+ omitted legs/treasuryat 1280: 3-col still readable, no ellipsis/address/{treasury}/address/{pair}ust1cmm.com/treasuryon a real iPad (portrait + landscape)Acceptance (#21)
LP UST1/SpaceUSDxlonlyNAV incomplete, vFDUSD session-oracle keptformatPoolSharerounding unchanged (≥ 0.99995→ 100%;0.99994stays 99.99%)#20LP CL8Y/cUSTClabel (wrap, not hardcode)Not done
#20CL8Y/cUSTC itself (layout only tolerates the label).mentioned in merge request !38
mentioned in issue #21
added 3 commits
masterce585561- Merge branch 'master' into 21-treasury-assets-ipad-layoutCompare with previous version
mentioned in commit
476d992430mentioned in issue #20
mentioned in issue #18
mentioned in issue #22