feat: /charts UST1/USD hero + ?price= page-wide invert (#680) #1183
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic!1183
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/680-charts-ust1-usd-hero"
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?
Summary
/chartsreplace-navigates to the UST1/cUSTC pair with?price=UST1so the first chart is USD of 1 UST1 (~$1), not catalog-volume rank or Trade's other-side default.?price=(last key wins) is allowlisted to the selected pair's legs (symbol, casefold, or contract;USTC/LUNCaliases only when that wrap is on the pair). Hostile / overlong values are ignored.invertUsd/ human reciprocal. Volume tiles stay factory-oriented.cl8y-dex-charts-pair-invert:so/tradeT524-3 / C543-3 is unchanged.Closes #680
Test plan
make verify-issue-680(Vitest route/orientation/OHLC/hero/ChartsPage + Trade #524 + chrome nesting)make verify-issue-680retest after lint fixes/charts→ UST1/cUSTC UST1 USD; copy URL; new session same orientation?price=cUSTC/ invert pill flips Last, 24h USD OHLC, %, TWAP, headings, tape Price; volume does not/tradefirst visit of UST1/cUSTC still other-side (cUSTC USD)/charts/<script>?price=<script>→ invalid-pair noticementioned in commit
479f9012d7mentioned in issue #686
mentioned in issue #680