DDR 0279: filled alert boxes, the Overview drill-in rows removed, a device gone offline shown red on Fleet #1888

Merged
ben merged 1 commit from session/filled-alert-boxes into main 2026-09-25 17:57:21 +00:00
Owner

Implements the rulings Ben made on 2026-09-25 while working in the control-panel preview harness. Recorded as DDR 0279.

Changes

  1. Overview: the HEALTH / BACKUPS headline rows and their "drill in" links are gone. The attention line already says where to go.
  2. Filled alert boxes: in the kit (baseLayer.css), .oc-system-alert--alert / --warn fill with the status red / amber. The text colour is picked for contrast, the same rule as the YOUR COMMUNITY box. Links, drill-ins and outlined buttons follow it. The Overview attention line and the Backups identity alert now use the kit box, so every tab's standing alert looks the same. The healthy box stays plain.
  3. Device offline, shown red on Fleet: monitoring's silence check already raises a critical silence/<device> alert and files it under Fleet (DDR 0071, #1724). The Fleet tab never showed it. Fleet now opens with a red DEVICE ALERT box, one line per device. "look at" opens that device's detail page (P9-S1) in place. No backend change.

Harness: new device-offline scenario. panel.ts now serves the scenario's alert list on deps.services.client, which is where Overview and Fleet read it. Before this, the attention line never showed in the harness.

Docs: DDR 0279, wireframes DO2 + DF, shell.mermaid (the two removed drill-in edges; the new Fleet path), STATUS.md.

Tests:

  • new fleetDeviceAlert.test.ts (7 tests) and deviceOffline.spec.ts harness test (2);
  • overview, first-run and #304 tests updated for the removed rows;
  • 2008 dashboard + 234 ui-kit unit tests pass, 36 harness specs pass, vue-tsc and eslint clean.

Follow-ups (in the DDR, not done here):

  • The Services SERVICE ALERT box still lists devices monitoring flagged, so an offline device shows on two tabs. DDR 0265 says an alert shows once.
  • The Fleet row pill stays amber for a critical device, while its Overview card is red.

🤖 Generated with Claude Code

Implements the rulings Ben made on 2026-09-25 while working in the control-panel preview harness. Recorded as **DDR 0279**. **Changes** 1. **Overview:** the HEALTH / BACKUPS headline rows and their "drill in" links are gone. The attention line already says where to go. 2. **Filled alert boxes:** in the kit (`baseLayer.css`), `.oc-system-alert--alert` / `--warn` fill with the status red / amber. The text colour is picked for contrast, the same rule as the YOUR COMMUNITY box. Links, drill-ins and outlined buttons follow it. The Overview attention line and the Backups identity alert now use the kit box, so every tab's standing alert looks the same. The healthy box stays plain. 3. **Device offline, shown red on Fleet:** monitoring's silence check already raises a critical `silence/<device>` alert and files it under Fleet (DDR 0071, #1724). The Fleet tab never showed it. Fleet now opens with a red **DEVICE ALERT** box, one line per device. "look at" opens that device's detail page (P9-S1) in place. No backend change. **Harness:** new `device-offline` scenario. `panel.ts` now serves the scenario's alert list on `deps.services.client`, which is where Overview and Fleet read it. Before this, the attention line never showed in the harness. **Docs:** DDR 0279, wireframes DO2 + DF, `shell.mermaid` (the two removed drill-in edges; the new Fleet path), `STATUS.md`. **Tests:** - new `fleetDeviceAlert.test.ts` (7 tests) and `deviceOffline.spec.ts` harness test (2); - overview, first-run and #304 tests updated for the removed rows; - 2008 dashboard + 234 ui-kit unit tests pass, 36 harness specs pass, vue-tsc and eslint clean. **Follow-ups (in the DDR, not done here):** - The Services SERVICE ALERT box still lists devices monitoring flagged, so an offline device shows on two tabs. DDR 0265 says an alert shows once. - The Fleet row pill stays amber for a critical device, while its Overview card is red. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ddr 0279: alert boxes are FILLED, the Overview's drill-in rows are gone, a device gone offline alerts RED on Fleet (Ben, 2026-09-25)
All checks were successful
ci / seam (pull_request) Successful in 10m28s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
f354a3e82e
- Overview (DO2) no longer renders the HEALTH / BACKUPS headline rows and
  their "drill in" links — the attention line already says where to go.
- Kit: .oc-system-alert--alert / --warn are FILLED (status red / amber), ink
  picked by the fill's OKLCH lightness like the YOUR COMMUNITY box; links,
  drill-ins and outlined buttons re-point to it. The Overview attention line
  and the Backups identity alert (P7-S1b) now wear the kit box, so every
  tab's standing alert reads the same. --healthy stays plain.
- Fleet opens with a red DEVICE ALERT box over monitoring's alert list: the
  silence classifier's critical `silence/<device>` alert, already filed under
  fleet (DDR 0071, #1724), was never shown on the tab. "look at" opens the
  device's P9-S1 drill-in in place. FleetSurface gains an optional
  alertsSource (deps.services.client, as Overview). No backend change.
- Harness: `device-offline` scenario; panel.ts serves the scenario alert list
  on deps.services.client, where Overview and Fleet actually read it.
- Wireframes DO2 + DF and shell.mermaid amended; tests: fleetDeviceAlert
  (7), deviceOffline harness drive (2), overview tests re-pinned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ben merged commit 501028b944 into main 2026-09-25 17:57:21 +00:00
ben deleted branch session/filled-alert-boxes 2026-09-25 17:57:22 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss!1888
No description provided.