From 8f3a404a4289f167e8f425d60678780064929a0e Mon Sep 17 00:00:00 2001 From: "bert.hausmans" Date: Tue, 12 May 2026 00:41:09 +0200 Subject: [PATCH 1/8] feat(appshell): add org-switcher card and bump sidebar width to w-72 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Introduces SidebarHeader.vue — a PrimeVue-only org-switcher that replaces the centered Crewli wordmark at the top of the sidebar. The component mirrors the legacy Vuetify OrganisationSwitcher (avatar with org initials, organisation name, plan-tier placeholder, dropdown chevron, PrimeVue Menu of available orgs) but cannot reuse it directly per the R-10 layout-shell-isolation invariant. Plan-tier shows a hardcoded "Pro" placeholder until the backend Organisation resource exposes a plan field — tracked separately, not in F3.5 scope. When the user has no active organisation (portal users, fresh super_admin), the component degrades to the original title block so PortalLayout continues to read "Crewli Portal". Desktop sidebar width bumped w-64 → w-72 (256 → 288 px) to give the org-switcher card breathing room and accommodate the user-info card arriving in B3. Mobile Drawer width bumped 16rem → 18rem to match. Co-Authored-By: Claude Opus 4.7 (1M context) --- apps/app/src/layouts/components/AppShell.vue | 12 +- .../src/layouts/components/SidebarHeader.vue | 104 ++++++++++++++++++ 2 files changed, 109 insertions(+), 7 deletions(-) create mode 100644 apps/app/src/layouts/components/SidebarHeader.vue diff --git a/apps/app/src/layouts/components/AppShell.vue b/apps/app/src/layouts/components/AppShell.vue index 9761e1d2..6ca7f231 100644 --- a/apps/app/src/layouts/components/AppShell.vue +++ b/apps/app/src/layouts/components/AppShell.vue @@ -94,10 +94,8 @@ function toggleUserMenu(event: Event) {