fix(nav): header "Turni"→"Turnet" (plural); remove duplicate Setup shifts tab

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
This commit is contained in:
2026-06-21 14:47:00 +02:00
parent 051b440627
commit 2a9e6846a1
2 changed files with 14 additions and 16 deletions
+7
View File
@@ -1280,3 +1280,10 @@ Legacy /setup/subscriptions, /setup/plans, /setup/tariff-lab redirect to the new
/subscriptions→/setup redirect was removed (it's a real route now). Verified at runtime via Playwright
(header order, the 3 sub-tabs, Setup no longer shows them, /setup/subscriptions redirects). The Tariff
COMPOSER stays in Setup; only the Tariff LAB simulator moved. build+lint 14/14.
## [2026-06-21] fix | Header "Turni"→"Turnet" (plural); drop the duplicate Setup shifts tab
The header shift link was nav.shift (singular: Turni/Shift) but points at the /shift HISTORY hub →
relabelled to nav.shifts (plural: Turnet/Shifts). Removed the duplicate "Turnet" tab from Setup (the
/setup/shifts route + tab rendered the SAME ShiftsHistory as the standalone /shift). /setup/shifts now
redirects to /shift; the operator-landing fallback (shift:read user opening /setup) points at /shift.
nav.shift key left in the catalogs (now orphaned, harmless). Verified at runtime. build+lint 14/14.