From 4cc5f694d3ec12e1c59e2578ad986ad130b237f4 Mon Sep 17 00:00:00 2001 From: Oier Bravo Urtasun Date: Mon, 13 Apr 2026 19:02:06 +0200 Subject: [PATCH] =?UTF-8?q?feat(fase-5.12):=20detail-view=20chrome=20?= =?UTF-8?q?=E2=80=94=20hide=20MobileTopBar,=20sticky=20contextual=20header?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On /lists/[id], /tasks/[id], /notes/[id], /lists/[id]/session the global MobileTopBar (hamburger + collective + avatar) is hidden on mobile. The route's own contextual header (back + title + actions) becomes the only top chrome and is now sticky with glassmorphism, matching the look of the MobileTopBar it replaces. BottomTabBar stays visible so the user can still hop between sections. Detection: a regex over the path — /^\/(lists\/[uuid](\/session)?| tasks\/[uuid]|notes\/[uuid])\/?$/ — in (app)/+layout.svelte. Headers touched: - apps/web/src/routes/(app)/lists/[id]/+page.svelte (px-4 on mobile, px-8 on md+, transparent/no-border on md+ since the masthead provides its own spacing) - apps/web/src/routes/(app)/tasks/[id]/+page.svelte - apps/web/src/routes/(app)/notes/[id]/+page.svelte Tests tests/e2e/mobile-shell.test.ts gains M-08: on /lists/bbbb..., the mobile-hamburger element has count 0 (MobileTopBar removed) while the detail's back link + BottomTabBar remain visible. All 5 shell tests green. Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/web/src/routes/(app)/+layout.svelte | 13 ++++++++++++- apps/web/src/routes/(app)/lists/[id]/+page.svelte | 6 ++++-- apps/web/src/routes/(app)/notes/[id]/+page.svelte | 2 +- apps/web/src/routes/(app)/tasks/[id]/+page.svelte | 2 +- apps/web/tests/e2e/mobile-shell.test.ts | 11 +++++++++++ 5 files changed, 29 insertions(+), 5 deletions(-) diff --git a/apps/web/src/routes/(app)/+layout.svelte b/apps/web/src/routes/(app)/+layout.svelte index ad49f95..517a13d 100644 --- a/apps/web/src/routes/(app)/+layout.svelte +++ b/apps/web/src/routes/(app)/+layout.svelte @@ -1,5 +1,6 @@