Dependency map, impact preview in maintenance, and a calmer Alerts page

- Map: a Dependencies view showing what would go down with a picked box and what it relies on
- Maintenance: lists what depends on a target and can silence those too (same time, audited); the recurring form and update drawer show the same note
- Alerts: a headline on where things stand, held-back alerts nested under their cause, severity edge on rows; caused-by now carries the explaining alert's id

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-10-18 19:17:09 +02:00
1 parent ec9c2f73f0
commit 9caa414829
19 files changed
+944 -40

No files matched your search

@@ -1,4 +1,5 @@
import { useEffect, useState } from "react";
import ImpactNote from "./ImpactNote";
import { api, type MaintenanceSchedule, type MaintenanceTargetType, type MaintenanceTargets } from "../api/client";
import { confirmDialog } from "../utils/dialogs";
import { readableError } from "../utils/errors";
@@ -271,6 +272,15 @@ export default function RecurringMaintenance({ canEdit, targets, onChanged }: {
)}
</div>
</div>
{picked.size > 0 && (
<div className="col-12">
<ImpactNote
targets={[...picked].map((k) => ({ type: k.split(":")[0], id: Number(k.split(":")[1]) }))}
verb="will look down while they are"
onAdd={(items) => setPicked((prev) => new Set([...prev, ...items.map((i) => key(i.type, i.id))]))}
/>
</div>
)}
<div className="col-12">
<ErrorNotice error={error} />
</div>