Dashboard status banner, phone-friendly lists, and more command palette actions

- Dashboard: a banner that answers "is it fine?" (headline, root cause, kinds of problem, worst few); cards with a problem come first in their row
- Phone: Alerts, Updates and Inventory rows become compact cards, finger-sized buttons, Alerts drops its figure row; scanned inventory labels get an Edit button
- Command palette: acknowledge alerts, update a server, print a label, open hardware, "What depends on ...?"

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-10-18 22:00:19 +02:00
1 parent 43fc5e0272
commit b5384c1e03
12 files changed
+429 -118

No files matched your search

+4 -2
View File
@@ -1,5 +1,5 @@
import { useEffect, useMemo, useState } from "react";
import { Link } from "react-router-dom";
import { Link, useSearchParams } from "react-router-dom";
import { api, type DependencyGraph, type DependencyGraphNode } from "../api/client";
import { ErrorNotice } from "./Notice";
import { PageSkeleton } from "./Skeleton";
@@ -88,7 +88,9 @@ const names = (graph: DependencyGraph, keys: Iterable<string>) => [...keys].map(
export default function DependencyMap() {
const [graph, setGraph] = useState<DependencyGraph | null>(null);
const [error, setError] = useState<string | null>(null);
const [selected, setSelected] = useState<string | null>(null);
// From the command palette ("What depends on …?"): start with that box picked.
const [params] = useSearchParams();
const [selected, setSelected] = useState<string | null>(params.get("select"));
const [hover, setHover] = useState<string | null>(null);
useEffect(() => {