turnstone/web/src
pyr0ball 4dcc1a441a feat(incidents): incident timeline visualizer + fix entry lookup using wrong DB path
Adds IncidentTimeline.vue — a pure SVG time-axis component rendered inside the
incident detail drawer when entries are present:
- Horizontal strip scaled to incident window (preserveAspectRatio=none)
- Event ticks colored by severity, height proportional to severity level
- 50-bin density shading shows burst periods as blue bands
- Gap markers (dashed lines) for silence > 10% of window or > 60s
- Hover tooltip showing nearest entry's severity, time, and truncated text
- Click-to-scroll: clicking a tick highlights and scrolls to its entry in the list below
- Legend showing only severity levels present in the incident

Also fixes a pre-existing bug: get_incident_endpoint and both build_bundle callers
were passing INCIDENTS_DB_PATH to get_incident_entries/build_bundle, causing all
incident entry lookups to silently search the empty incidents DB instead of the
main log DB. This made all incident detail views show "No log entries found".

Closes: #57
2026-06-10 16:02:24 -07:00
..
components feat(incidents): incident timeline visualizer + fix entry lookup using wrong DB path 2026-06-10 16:02:24 -07:00
router feat: security alerts tab — UI view for anomaly detections (#11) 2026-06-10 00:28:15 -07:00
stores feat: Vue 3 frontend and FastAPI REST layer 2026-05-08 16:27:59 -07:00
style fix: reset browser UA button chrome for dark mode 2026-06-05 09:55:08 -07:00
views feat(incidents): incident timeline visualizer + fix entry lookup using wrong DB path 2026-06-10 16:02:24 -07:00
App.vue feat: security alerts tab — UI view for anomaly detections (#11) 2026-06-10 00:28:15 -07:00
main.ts feat: dark/light theme — CSS variables, OS preference, toggle button 2026-05-09 16:20:07 -07:00
vite-env.d.ts feat: Vue 3 frontend and FastAPI REST layer 2026-05-08 16:27:59 -07:00