Commit graph

10 commits

Author SHA1 Message Date
cc2468c921 feat: add axum permission and refactor KPI dashboard metrics 2026-01-14 16:46:56 +07:00
cb30287fbd refactor: rename app crate and binary names to addmon for consistency 2026-01-14 16:46:56 +07:00
d19a7bdaa0 refactor: move Tauri window title to config and add mode toggle to header 2026-01-14 16:46:56 +07:00
0a4b289d70 chore: update Tauri dependencies and features configuration 2026-01-14 16:46:56 +07:00
5929358754 refactor: move monitor page to index route and configure Tauri window
- Move monitor page content from /monitor to / (index route)
- Create placeholder monitor_.tsx route
- Remove Header component from root layout
- Configure Tauri window with transparent titlebar and dark background
- Enable macOS private API for window styling
2025-12-29 07:36:13 +07:00
c145d3fb07 feat(monitor): add search, status filter, and bulk invalid toggle
- Add search input to filter alerts by alertName or label values
- Add status filter dropdown (All/Resolved/Unresolved)
- Add Select All checkbox with indeterminate state for bulk invalid toggle
- Add indeterminate prop support to Checkbox component
- Add Monitor link to header navigation
- Fix KPI dashboard padding for empty state
2025-12-29 07:36:09 +07:00
22aee93fb3 feat(monitor): add alert pairing logic and display incident names
- Add pair_alerts() to pair consecutive Alerting→Normal state transitions
- Add parse_labels_from_text() to extract labels from alert text field
- Update ProcessedAlert struct with alertTime, resolveTime, isResolved, labels
- Display incident name in alert list items instead of incident ID
- Show parsed labels in alert row (excluding alertname)
2025-12-29 07:36:04 +07:00
ea1c9105a7 feat(monitor): add alert monitoring page with KPI dashboard, alert list, and incident management
- Add Tauri plugins for file dialog and filesystem access
- Create Rust backend for processing Grafana alerts (pairing, KPI calculation)
- Add virtualized alert list with invalid toggle and incident attachment
- Add incident manager with create, attach, and detach functionality
- Add KPI dashboard showing coverage ratio, downtime, and invalid rate
- Add date-fns for date formatting
2025-12-29 07:34:54 +07:00
ee3c0c156b docs: AGENTS.md init 2025-12-29 03:24:22 +07:00
43dd3ce0e9 initial commit 2025-12-29 02:40:16 +07:00