Add computer settings pages and restore workspace pages

This commit is contained in:
2026-10-19 13:30:02 +01:00
parent 7667f2bc2f
commit 7b1ccfeb62
36 changed files with 1082 additions and 131 deletions
@@ -28,6 +28,7 @@ export const SettingsRecordBack: Record<
bots: { title: "All bots", href: "/admin/settings/bots" },
workspaces: { title: "All workspaces", href: "/admin/settings/workspaces" },
users: { title: "All users", href: "/admin/settings/users" },
computers: { title: "All computers", href: "/admin/settings/computers" },
};
export const SettingsRecordSections: Record<
@@ -55,4 +56,11 @@ export const SettingsRecordSections: Record<
{ title: "Edit", url: "#edit", Icon: Pencil },
{ title: "Danger zone", url: "#danger", Icon: CircleAlert },
],
computers: [
{ title: "Overview", url: "#overview", Icon: Info },
{ title: "Details", url: "#details", Icon: Pencil },
{ title: "Bots", url: "#bots", Icon: Bot },
{ title: "Workspaces", url: "#workspaces", Icon: Layers },
{ title: "Danger zone", url: "#danger", Icon: CircleAlert },
],
};