Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: a swarm tab after agents holding the hives card and the beta notification router; /notifications redirects to it

This commit is contained in:
iris 2026-11-04 20:56:24 +01:00 • committed by mara
commit 0302582d1c
2 changed files with 94 additions and 49 deletions

View file

@ -57,10 +57,10 @@ const SOLID_KEY = "swarm-ui:solid-backgrounds";
const NAV_ITEMS: { href: string; label: string; accent: string }[] = [
{ href: "/agents", label: "agents", accent: "var(--green)" },
{ href: "/swarm", label: "swarm", accent: "var(--yellow)" },
{ href: "/reports", label: "reports", accent: "var(--red)" },
{ href: "/jobs", label: "jobs", accent: "var(--pink)" },
{ href: "/messages", label: "messages", accent: "var(--purple)" },
{ href: "/notifications", label: "notifications", accent: "var(--yellow)" },
{ href: "/components", label: "components", accent: "var(--blue)" },
];

View file

@ -38,6 +38,7 @@ export const MOVED_ROUTES: Readonly<Record<string, string>> = {
"/builds": "/jobs",
"/review": "/jobs",
"/schedules": "/messages",
"/notifications": "/swarm",
};
/** Where an old address goes, keeping its query; `null` for any other path. */