turnstone/web
pyr0ball fa4d23dd20 feat: dashboard view, stats API, and composite index for query perf
- Add GET /api/stats endpoint with 24h windowed aggregation (criticals,
  errors, per-source health, recent criticals list)
- Fix timestamp format bug: strftime('%Y-%m-%dT%H:%M:%S', ...) to match
  stored ISO-8601 T-separated timestamps (datetime('now') uses space)
- Add composite index idx_ts_repeat(timestamp_iso, repeat_count) — drops
  stats query from 3.5 s to <1 ms by resolving both WHERE conditions
  from the index without table row fetches
- New DashboardView: 3 stat cards, source health table with health dots,
  diagnose-per-source button, recent criticals panel, zero-state card
- Router default / → /dashboard; Dashboard first in nav
- DiagnoseView: reads ?q= query param on mount and auto-runs; shows
  formatted LLM summary block
- LogEntryRow: expand/collapse for long entries (>200 chars or multiline)
2026-05-11 03:41:55 -07:00
..
src feat: dashboard view, stats API, and composite index for query perf 2026-05-11 03:41:55 -07:00
index.html feat: Vue 3 frontend and FastAPI REST layer 2026-05-08 16:27:59 -07:00
package-lock.json feat: Vue 3 frontend and FastAPI REST layer 2026-05-08 16:27:59 -07:00
package.json feat: Vue 3 frontend and FastAPI REST layer 2026-05-08 16:27:59 -07:00
tsconfig.json feat: Vue 3 frontend and FastAPI REST layer 2026-05-08 16:27:59 -07:00
uno.config.ts feat: dark/light theme — CSS variables, OS preference, toggle button 2026-05-09 16:20:07 -07:00
vite.config.ts feat: Vue 3 frontend and FastAPI REST layer 2026-05-08 16:27:59 -07:00