feat(web): move Uploads into the mobile navigation drawer (spec 001 SC-004b amendment) #1256

Merged
chris merged 1 commit from feat/mobile-header-declutter into main 2026-10-16 11:40:17 +02:00
Owner

Mobile app bar decluttering — the six right-aligned controls pushed the ⋯ page-menu against the viewport edge, and mobile browsers read edge touches as horizontal scroll (measured: menu cut off by 9px at 412px).

  • Mobile header: remove the Upload anchor (desktop keeps its upload icon)
  • Mobile drawer: new Uploads entry (first item in Actions; same active-state treatment as other nav items, closes the drawer on navigate) via a new optional extraItems slot on MobileNav
  • i18n: navUploads = Uploads (en/de/da parity); header upload keys remain for desktop
  • E2E: accessibility.spec re-scoped — desktop rail still has no Upload(s) entry; mobile asserts the drawer Uploads destination
  • Spec 001: scenario 18 + SC-004b amended (desktop keeps app-bar upload; mobile exposes Uploads as a drawer entry) — dated amendment notes

Measured result: header row fits at 412px with 8px slack; 375px effectively fine; <=360px remains tight (noted, not further reduced — further removals are a product call).

Validation: svelte-check 0 errors, build green, 266 unit tests green, targeted E2E green (57), full suite 1012 passed / 8 known-flaky.

Mobile app bar decluttering — the six right-aligned controls pushed the ⋯ page-menu against the viewport edge, and mobile browsers read edge touches as horizontal scroll (measured: menu cut off by 9px at 412px). - Mobile header: remove the Upload anchor (desktop keeps its upload icon) - Mobile drawer: new Uploads entry (first item in Actions; same active-state treatment as other nav items, closes the drawer on navigate) via a new optional extraItems slot on MobileNav - i18n: navUploads = Uploads (en/de/da parity); header upload keys remain for desktop - E2E: accessibility.spec re-scoped — desktop rail still has no Upload(s) entry; mobile asserts the drawer Uploads destination - Spec 001: scenario 18 + SC-004b amended (desktop keeps app-bar upload; mobile exposes Uploads as a drawer entry) — dated amendment notes Measured result: header row fits at 412px with 8px slack; 375px effectively fine; <=360px remains tight (noted, not further reduced — further removals are a product call). Validation: svelte-check 0 errors, build green, 266 unit tests green, targeted E2E green (57), full suite 1012 passed / 8 known-flaky.
feat(web): move Uploads into the mobile navigation drawer (spec 001 SC-004b amendment)
All checks were successful
Wiki Sync / Sync wiki from docs (push) Has been skipped
Build and Deploy / Detect changed services and test scopes (push) Successful in 2s
Build and Deploy / Build postgres image (push) Has been skipped
Build and Deploy / Build Android CI image (push) Has been skipped
Build and Deploy / Smoke API and media worker (push) Has been skipped
Build and Deploy / Smoke web (push) Has been skipped
Build and Deploy / Smoke ML worker (push) Has been skipped
Build and Deploy / Smoke people worker (push) Has been skipped
Build and Deploy / Build plants worker image (push) Has been skipped
Build and Deploy / Build converter worker image (push) Has been skipped
Build and Deploy / Android unit tests and debug APK (push) Has been skipped
Build and Deploy / Deploy postgres (push) Has been skipped
Build and Deploy / Build API image (push) Has been skipped
Build and Deploy / Build media worker image (push) Has been skipped
Build and Deploy / Build ML worker image (push) Has been skipped
Build and Deploy / Build people worker image (push) Has been skipped
Build and Deploy / Build web image (push) Has been skipped
Build and Deploy / Deploy API (push) Has been skipped
Build and Deploy / Deploy web (push) Has been skipped
Build and Deploy / Deploy media worker (push) Has been skipped
Build and Deploy / Deploy ML worker (push) Has been skipped
Build and Deploy / Deploy plants worker (push) Has been skipped
Build and Deploy / Deploy people worker (push) Has been skipped
Build and Deploy / Deploy converter worker (push) Has been skipped
Build and Deploy / Clean Docker build artifacts (push) Has been skipped
Build and Deploy / Run scoped PR tests (push) Successful in 8m1s
ed11086c41
The mobile app bar had six right-aligned controls; on 412px screens the
⋯ page-menu landed at the viewport edge and mobile browsers read edge
touches as horizontal scroll (measured: menu cut off by 9px at 412px
before this change).

- Mobile header: remove the Upload anchor (desktop keeps it)
- MobileNav: new optional extraItems slot, rendered like native nav items
- AppShell: drawer gets an Uploads entry (first item in Actions; same
  active-state treatment, closes the drawer on navigate)
- i18n: navUploads = Uploads (en/de/da); header upload keys stay for
  desktop
- accessibility.spec.ts: re-scoped to desktop-rail-has-no-Uploads +
  mobile-drawer-has-Uploads
- specs/001: scenario 18 + SC-004b amended (desktop keeps app-bar
  upload; mobile exposes Uploads as a drawer entry)

Validation: svelte-check 0 errors, build green, 266 unit tests green,
accessibility + header + upload E2E suites green (57 passed), full
suite 1012 passed / 8 known-flaky. Measured header row: fits at 412px
with 8px slack (was overflowing); <=360px remains tight (noted).
chris merged commit 4bba4f0f0d into main 2026-10-16 11:40:17 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
chris/memories!1256
No description provided.