Commit ff2a7ad
Extend Events and Admin pages with full feature set
Events page:
- Click-through links to /review/:id from event rows
- Cost estimation per review using model pricing data
- Export filtered events as CSV or JSON
- Live tail mode with pulsing indicator and new-row highlight
- Comparison mode: select 2 events for side-by-side delta analysis
Admin page:
- Time-range selector (1h/24h/7d/30d/All) filters all analytics
- Severity trends stacked area chart (Error/Warning/Info/Suggestion)
- Token cost dashboard with cumulative cost chart and monthly projection
- Category x Repository heatmap showing finding distribution patterns
- Period comparison mode splitting events into halves with delta indicators
Shared: add cost estimation utility (lib/cost.ts) using MODEL_PRESETS pricing.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a500968 commit ff2a7ad
3 files changed
+982
-215
lines changed| 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 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
0 commit comments