Incident Groups (#66) - Phase 1
Journal entries can now be grouped under named incidents for better organization of long-term monitoring.
New Features
- Incident Containers: Create named incidents (e.g. "Upstream Noise Issue") with status (open/resolved/escalated), date range, description, and icon
- Filter Bar: Pill-based filter bar above the journal table to quickly switch between incidents, unassigned entries, or all entries
- Incident Summary: Compact summary panel when selecting an incident, showing name, status badge, date range, entry count, and description
- Entry Assignment: Assign journal entries to incidents via dropdown in the entry modal
- Hover Edit: Edit icon appears on hover over incident pills for quick access
Technical Changes
- DB migration:
incidentstable renamed tojournal_entries, newincidentstable for containers - API routes renamed:
/api/incidents/*to/api/journal/*for entries - New API endpoints:
/api/incidents/*for container CRUD,/api/incidents/<id>/assign,/api/journal/unassign - i18n: 16 new translation keys in all 4 languages (en, de, es, fr)
- Demo mode: 2 sample incident containers with assigned entries