From 2a9e6846a1ce97e7c9068a3a3fcb358889322315 Mon Sep 17 00:00:00 2001 From: Julian Cuni Date: Sun, 21 Jun 2026 14:47:00 +0200 Subject: [PATCH] =?UTF-8?q?fix(nav):=20header=20"Turni"=E2=86=92"Turnet"?= =?UTF-8?q?=20(plural);=20remove=20duplicate=20Setup=20shifts=20tab?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The header shift link used nav.shift (singular: Turni/Shift) but points at the /shift HISTORY hub, so it now uses nav.shifts (plural: Turnet/Shifts). The Setup "Turnet" tab was a duplicate — /setup/shifts and the standalone /shift both rendered ShiftsHistory. Removed the Setup tab + its child route; /setup/shifts redirects to /shift for old bookmarks, and the operator-landing fallback (a shift:read user opening /setup) now points at /shift. The orphaned nav.shift key is left in both catalogs (harmless). Verified at runtime (Playwright): header reads Kabina·Turnet·Abonimet·Konfigurimi, Setup no longer lists Turnet, /setup/shifts redirects to /shift. build+lint 14/14. Claude-Session: https://claude.ai/code/session_01Xcm6ikLgGoCxxHrxtjkk5V --- apps/web/src/router.tsx | 23 +++++++---------------- wiki/log.md | 7 +++++++ 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/apps/web/src/router.tsx b/apps/web/src/router.tsx index a0f8701..e783dbb 100644 --- a/apps/web/src/router.tsx +++ b/apps/web/src/router.tsx @@ -85,7 +85,6 @@ function SetupLayout() { {show("site:read") && } {show("user:read") && } {show("role:read") && } - {show("shift:read") && } {show("log:read") && } @@ -369,7 +368,7 @@ function RootLayout() { ▮ Parking