feat(webui): five-place top bar with Settings, New task and one connection pill

Dashboard, Tasks, Workflows, Events and Settings replace the Work, Agent
and System menus. Configuration pages move under /settings/* with
redirects from their old paths; Logs and Appearance leave the bar and stay
reachable from Jump to, the Dashboard and the account menu. New task opens
the Start work form in a dialog and lands on the new task. One pill reports
the live stream's state.

Drops docs/prds/dashboard-navigation-groups.md: web UI design is not
tracked in PRDs.
This commit is contained in:
sam committed 2026-09-25 15:09:18 +10:00
1 parent b9292e1911
commit 4ffebb855d
23 files changed
+453 -383

No files matched your search

+3 -8
View File
@@ -6,6 +6,7 @@ import { Badge } from "@/components/ui/badge";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import { Table, TableBody, TableCell, TableRow } from "@/components/ui/table";
import { api } from "@/lib/api";
import { connectionStatus } from "@/lib/connection";
import { useLiveResource, useLiveUpdatesStore } from "@/stores/live-updates";
interface HealthComponent {
@@ -24,13 +25,7 @@ const report = ref<HealthReport | null>(null);
const error = ref<string | null>(null);
const { streamState } = storeToRefs(useLiveUpdatesStore());
const liveState = computed(() => {
if (streamState.value === "live")
return { label: "Connected", kind: "ok" as const };
if (streamState.value === "unavailable")
return { label: "Unavailable", kind: "danger" as const };
return { label: "Connecting", kind: "warn" as const };
});
const liveState = computed(() => connectionStatus(streamState.value));
const names: Record<string, string> = {
state_db: "State store",
@@ -70,7 +65,7 @@ onMounted(load);
<TableRow>
<TableCell class="font-medium">Live updates</TableCell>
<TableCell class="w-px text-right">
<Badge :variant="liveState.kind">{{ liveState.label }}</Badge>
<Badge :variant="liveState.tone">{{ liveState.label }}</Badge>
</TableCell>
</TableRow>
<TableRow