|
|
de621175d0
|
feat: dark/light theme — CSS variables, OS preference, toggle button
- theme.css: CSS custom properties for both modes (surface, accent, text,
sev, badge); .dark class override; smooth 0.15s transitions
- uno.config.ts: colors now reference var() — all semantic classes
auto-switch with the .dark class; dark: 'class' strategy enabled
- main.ts: apply saved preference (localStorage ts-theme) or
prefers-color-scheme before first paint to prevent flash
- App.vue: ☾/☀ toggle button persists choice to localStorage
- IncidentsView: severityStyle() uses badge CSS variables via inline
style — fixes /opacity modifier incompatibility with CSS vars
|
2026-05-09 16:20:07 -07:00 |
|
|
|
eef84d55be
|
feat: Vue 3 frontend and FastAPI REST layer
- app/rest.py: FastAPI app wrapping search/diagnose/sources with CORS
- web/: Vue 3 + Vite + UnoCSS + Pinia frontend at port 8535
- LogSearchView: sidebar filters (source, severity, limit) + FTS search
- DiagnoseView: layered symptom investigation matching MCP diagnose tool
- SourcesView: corpus table with entry count, error count, time range
- LogEntryRow: severity badge, pattern chips, repeat count, timestamp
- StatusDot: live API health indicator in nav
- scripts/start_dev.sh: launch FastAPI (:8534) + Vite dev server (:8535)
- .gitignore: add web/node_modules/ and web/dist/
- Caddy: /turnstone* route added to menagerie.circuitforge.tech block
(API → :8534 with /turnstone strip, SPA fallback → :8535)
|
2026-05-08 16:27:59 -07:00 |
|