fix(frontend): disclose trailing 24h volume on Charts and Protocol (#576) #1096

Merged
PlasticDigits merged 2 commits from feat/576-trailing-24h-volume into main 2026-08-20 03:14:44 +00:00
PlasticDigits commented 2026-08-20 01:38:11 +00:00 (Migrated from gitlab.com)

Summary

Charts and Protocol 24h volume looked like a calendar-day counter that should hit $0 at midnight. The indexer figure is a trailing now − 24h window. This MR discloses that window in the UI without changing rollup math or overview JSON.

  • Shared copy in trailingWindowCopy.ts (labels ≤ ~5 words; static titles / aria-labels)
  • Visible Last 24h on Charts overview, pair Vol (USD), Protocol 24h/7d/30d, and 24h trades
  • StatBox puts title on the label (mobile long-press) and aria-label on the value (no hover required)
  • Pool Vol header keeps the short label; optional title discloses the window; sort key stays volume_24h
  • Docs, glossary, skills, and make verify-issue-576

Closes #576

Test plan

  • make verify-issue-576 (docs grep + Vitest Charts / Protocol / StatBox / Pool) — passed twice
  • Phone-width /charts and /protocol: a new user can tell volume is last 24 hours, not since launch / since midnight
  • Idle fixture still $0; priced activity need not be $0; unpriced + trades still —
  • Dark + light: no always-on lecture banner; outage banner still hides indexer URLs
  • Pool Vol sort still volume_24h; Charts SORT still works
## Summary Charts and Protocol 24h volume looked like a calendar-day counter that should hit `$0` at midnight. The indexer figure is a trailing `now − 24h` window. This MR discloses that window in the UI without changing rollup math or overview JSON. - Shared copy in `trailingWindowCopy.ts` (labels ≤ ~5 words; static titles / aria-labels) - Visible **Last 24h** on Charts overview, pair Vol (USD), Protocol 24h/7d/30d, and 24h trades - `StatBox` puts `title` on the label (mobile long-press) and `aria-label` on the value (no hover required) - Pool **Vol** header keeps the short label; optional `title` discloses the window; sort key stays `volume_24h` - Docs, glossary, skills, and `make verify-issue-576` Closes #576 ## Test plan - [x] `make verify-issue-576` (docs grep + Vitest Charts / Protocol / StatBox / Pool) — passed twice - [ ] Phone-width `/charts` and `/protocol`: a new user can tell volume is last 24 hours, not since launch / since midnight - [ ] Idle fixture still `$0`; priced activity need not be `$0`; unpriced + trades still `—` - [ ] Dark + light: no always-on lecture banner; outage banner still hides indexer URLs - [ ] Pool Vol sort still `volume_24h`; Charts SORT still works
PlasticDigits commented 2026-08-20 03:14:32 +00:00 (Migrated from gitlab.com)

added 4 commits

  • ee4b1317...cc680f28 - 3 commits from branch main
  • 0d5ebb20 - Merge origin/main into feat/576-trailing-24h-volume.

Compare with previous version

added 4 commits <ul><li>ee4b1317...cc680f28 - 3 commits from branch <code>main</code></li><li>0d5ebb20 - Merge origin/main into feat/576-trailing-24h-volume.</li></ul> [Compare with previous version](/PlasticDigits/cl8y-dex-terraclassic/-/merge_requests/378/diffs?diff_id=1972526493&start_sha=ee4b13174a3882457898f51b5fb05caccc604e61)
PlasticDigits (Migrated from gitlab.com) merged commit f6b79a17d8 into main 2026-08-20 03:14:44 +00:00
PlasticDigits commented 2026-08-20 03:14:45 +00:00 (Migrated from gitlab.com)

mentioned in commit f6b79a17d8

mentioned in commit f6b79a17d81ac50108bd4d8f68368fb21d6ef101
PlasticDigits commented 2026-08-20 03:54:13 +00:00 (Migrated from gitlab.com)

mentioned in issue #576

mentioned in issue #576
PlasticDigits commented 2026-08-20 03:54:52 +00:00 (Migrated from gitlab.com)

mentioned in issue #583

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