From 2f28655ab4c30c228f4766fa2f1761ddca3072d2 Mon Sep 17 00:00:00 2001 From: RomeoCavazza Date: Mon, 20 Jul 2026 09:57:13 +0200 Subject: [PATCH 1/4] fix(web): expose semantic app navigation --- client-web/components/layout/BottomBar.tsx | 13 +++++-- client-web/components/layout/Sidebar.tsx | 33 ++++++++++------- .../components/layout/navigation.test.ts | 31 +++++++++++++++- client-web/components/layout/navigation.ts | 35 ++++++++++++++++--- client-web/messages/en.json | 4 ++- client-web/messages/fr.json | 4 ++- tooling/e2e/layout-contract.spec.ts | 32 +++++++++++++++++ 7 files changed, 129 insertions(+), 23 deletions(-) diff --git a/client-web/components/layout/BottomBar.tsx b/client-web/components/layout/BottomBar.tsx index 8f96b0a..496c5b9 100644 --- a/client-web/components/layout/BottomBar.tsx +++ b/client-web/components/layout/BottomBar.tsx @@ -4,7 +4,11 @@ import React from "react"; import { Link, usePathname } from "@/i18n/routing"; import { cn } from "@/lib/utils"; import { useTranslations } from "next-intl"; -import { primaryNavigationItems, settingsNavigationItem } from "./navigation"; +import { + isNavigationItemActive, + primaryNavigationItems, + settingsNavigationItem, +} from "./navigation"; import { useTeamScope } from "@/components/teams/TeamScope"; export function BottomBar({ className }: { className?: string }) { @@ -15,24 +19,27 @@ export function BottomBar({ className }: { className?: string }) { return (