Split UME and alarms routes out of main; align UI scopes.

Extract ume_support/ume_router and alarms_router so main stays startup-focused, add topology fabric/views import surfaces, and gate managed-NE writes by ne:write.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-02 16:30:29 +08:00
parent 633a9d55bd
commit 8180f069ea
11 changed files with 2365 additions and 2090 deletions

View file

@ -29,6 +29,7 @@ export const MODULES: readonly ModuleDefinition[] = [
descKey: "workbench.cards.umeSyncDesc",
iconTone: "blue",
titleKey: "layout.titleUme",
requiredScope: "alarms:read",
},
{
moduleId: "ne",
@ -38,6 +39,7 @@ export const MODULES: readonly ModuleDefinition[] = [
descKey: "workbench.cards.managedNeDesc",
iconTone: "green",
titleKey: "layout.titleManagedNe",
requiredScope: "ne:read",
},
{
moduleId: "network",
@ -47,6 +49,7 @@ export const MODULES: readonly ModuleDefinition[] = [
descKey: "workbench.cards.networkDesc",
iconTone: "slate",
titleKey: "layout.titleNetwork",
requiredScope: "ne:read",
},
{
moduleId: "topology",
@ -56,6 +59,7 @@ export const MODULES: readonly ModuleDefinition[] = [
descKey: "workbench.cards.topologyDesc",
iconTone: "amber",
titleKey: "layout.titleTopology",
requiredScope: "ne:read",
},
{
moduleId: "webcrt",
@ -76,6 +80,7 @@ export const MODULES: readonly ModuleDefinition[] = [
iconTone: "amber",
titleKey: "layout.titlePortTrafficWall",
workbenchHidden: true,
requiredScope: "ne:read",
},
{
moduleId: "users",