From a6c9c2f93959c559b7aacc5e4697722a227f5a2f Mon Sep 17 00:00:00 2001 From: Lorenzo Corallo Date: Thu, 1 Oct 2026 00:02:42 +0200 Subject: [PATCH] feat: rename the Access section to eRBACo and tidy its layout Show "eRBACo" in the header, the tab title, and as one heading above the Roles/Permissions tabs. Drop the list pages' own headings, which repeated the tab names, and let detail and "new" pages fill the width under the tabs instead of sitting in a narrow centred column. Co-Authored-By: Claude Opus 5.5 (1M context) --- src/components/app-header.tsx | 2 +- .../access/permissions/$permissionId.tsx | 6 +-- src/routes/access/permissions/index.tsx | 5 +-- src/routes/access/permissions/new.tsx | 4 +- src/routes/access/roles/$roleId.tsx | 4 +- src/routes/access/roles/index.tsx | 5 +-- src/routes/access/roles/new.tsx | 4 +- src/routes/access/route.tsx | 45 ++++++++++--------- 8 files changed, 38 insertions(+), 37 deletions(-) diff --git a/src/components/app-header.tsx b/src/components/app-header.tsx index 7dba047..7fab70d 100644 --- a/src/components/app-header.tsx +++ b/src/components/app-header.tsx @@ -28,7 +28,7 @@ export function AppHeader({ active, access }: { active: Section; access?: IdpAcc }); // Straight to the tab they can actually read, rather than a page that would refuse them. const accessTab = firstAccessTab(can); - if (accessTab) links.push({ to: accessTab.to, label: "Access", section: "access" }); + if (accessTab) links.push({ to: accessTab.to, label: "eRBACo", section: "access" }); const nav = (className: string) => session && links.length > 1 ? (