feat: build collaboration workspaces

This commit is contained in:
2026-07-03 03:02:36 -07:00
parent bf3dd256ab
commit 4ba2a11b88
53 changed files with 9557 additions and 29 deletions

View File

@@ -15,6 +15,7 @@ import {
Settings,
ShieldAlert,
TabletSmartphone,
UserRoundCheck,
Users,
Wrench,
} from "lucide-react";
@@ -33,6 +34,7 @@ const iconMap: Record<NavIconKey, LucideIcon> = {
dashboard: LayoutDashboard,
devices: TabletSmartphone,
emergency: ShieldAlert,
family: UserRoundCheck,
global: Globe2,
health: HeartPulse,
notices: Bell,

View File

@@ -8,6 +8,7 @@ export type NavIconKey =
| "dashboard"
| "devices"
| "emergency"
| "family"
| "global"
| "health"
| "notices"
@@ -78,23 +79,25 @@ export const navGroups: NavGroup[] = [
path: "/devices",
label: "设备运维",
icon: "devices",
permission: "facility:read",
permission: "device:read",
},
{
path: "/notices",
label: "公告通知",
icon: "notices",
permission: "notice:read",
},
{
path: "/alerts",
label: "规则预警",
icon: "alerts",
permission: "incident:read",
permission: "alert:read",
},
{
path: "/family",
label: "家属服务",
icon: "devices",
icon: "family",
permission: "family:read",
},
],
},