Commit 0865861
static: public Reverse Watch dashboard
Single self-contained static/index.html (no build step) plus the
icons / favicons / chart-event data it consumes.
Layout
- three KPI cards (Traders indexed, Traders flagged, Traders flagged 24h)
- volume chart with period picker (7d / 30d / 3m / 6m / 1y), powered by
uPlot from the unpkg CDN
- recent-reversals table with client-side paging
- single-Steam-ID search with avatar + display name + Steam/CSFloat
profile link result chip
- CS2 event annotation chips on the chart, data driven by
static/cs2-events.json — edit that file to add or update events
- responsive mobile layout (single-column, condensed KPI row)
Dependencies
- Material Symbols (Google Fonts CDN)
- uPlot 1.6.x (unpkg CDN)
- No bundler, no NPM dependencies, no build step.
This PR depends on #1 (in-memory static serving) and #2 (public
stats / recent endpoints) being merged for the dashboard to function,
but is reviewable in isolation against master.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent df93823 commit 0865861
6 files changed
Lines changed: 1694 additions & 397 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
Loading
Loading
0 commit comments