fix(frontend): group protocol Δ% chips with their USD headline (#667) #1158
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!1158
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/667-protocol-stat-delta-group"
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
/protocolGlobal stats and Protocol fees already parent Δ% inside the correctStatBox(#652), butjustify-betweenpinned chips to the cell’s far right so operators read them as the next column’s figure. This MR groups every inline Δ% with its own headline and stops census tiles from rendering integers as14.00/8.000..stat-value-row(justify-start/ wrap). Headline first;.stat-delta-clusterimmediately after. Wrap stays in the same cell. No Protocol-only variant.formatProtocolCountuses locale integers under 1000; compactKonly whenabs ≥ 1000; missing / non-finite / XSS-like → em-dash.AGENTS_FRONTEND_PROTOCOL_STATS.md; P569-7 / PFee-2 / P652-6 updated; chrome-nesting playbook points at grouping as layout, not a second chrome layer.make verify-issue-667(docs + RTL + Playwright geometry @ 5 workers). Relatedverify-issue-652/653stay green.Closes #667
Test plan
make verify-issue-667(docs, StatBox nojustify-between,formatProtocolCountintegers, Protocol RTL, Playwright geometry 390 / 820 / 1280 @ 5 workers)make verify-issue-652(SKIP_E2E + SKIP_RELATED) andmake verify-issue-653/protocolat 390 / 820 / 1280, light + dark: each % reads as belonging to its$/ fee headline14not14.00when counts are small integersStatBoxtiles still label+value onlyvolume_change_*): tiles still render; Δ% em-dash; chart hiddenAcceptance (issue #667)
protocol-stat-*tile$+ 24h + 30d read as one group (cluster after or wrapped under the$).00;Konly if count ≥ 1000title/aria-label, UTC-day chart, page order unchangedcard-glassin Global stats / feesmentioned in issue #667
mentioned in commit
9b00330092added 9 commits
main9b003300- Merge origin/main into branch for !1158Compare with previous version
mentioned in commit
f5ffe9649bmentioned in issue #673