v0.166.0: mobile nav off-canvas drawer + sidebar cleanup + versioned logo/favicon URLs
Mobile nav was broken — the <=768px block predated the v0.146.0 accordion and
flattened .nav-links into a horizontal overflow-x strip, clipping the accordion's
nested sub-lists. Replaced with a sticky top bar + off-canvas left drawer that
reuses the vertical sidebar (accordion untouched), plus a no-js static fallback.
Removed the sidebar customer-name span (kept on login). Added ?v={{.Version}}
cache-bust to logo/favicon URLs (Cloudflare 4h edge-cache; 0.126.1 failure mode).
Part 4 (outlined-logo constant swap) gated out per §3a: live felhom.eu main still
serves a logo.svg with live <text>/font-family; constants unchanged.
5 new tests via the real layout/CSS render; nav_accordion invariants unchanged.
This commit is contained in:
+22
-1
@@ -7,7 +7,28 @@
|
||||
>
|
||||
> Ask Claude Code: "Please update CONTEXT.md with what we did today"
|
||||
|
||||
Last updated: 2026-07-24 (v0.165.1 — native "Megosztás…" button in the share modal via the Web Share API)
|
||||
Last updated: 2026-07-24 (v0.166.0 — mobile nav drawer + sidebar cleanup + versioned logo/favicon URLs)
|
||||
|
||||
> **2026-07-24 — v0.166.0 (mobile nav = off-canvas drawer; sidebar cleanup; ?v= on logo/favicon).**
|
||||
> Mobile nav was broken: the ≤768px block predated the v0.146.0 accordion and flattened `.nav-links`
|
||||
> into a horizontal `overflow-x` strip, clipping the accordion's nested sub-lists (they share the
|
||||
> `.nav-links` class). **Decision: mobile nav = a sticky top bar + off-canvas left drawer that REUSES
|
||||
> the vertical sidebar (Option A).** The accordion handler is untouched and works inside the drawer;
|
||||
> a `no-js` html-class fallback renders the sidebar static inline so nothing dead-ends without JS.
|
||||
> Options B (separate mobile menu) and C (exclude nested lists from the strip) were rejected. z-index
|
||||
> ladder topbar 800 < backdrop 900 < drawer 950 < modal 1000; `100dvh`; reduced-motion disables the
|
||||
> slide; focus-trap deliberately omitted (navigations reset state). **Sidebar customer-name removed**
|
||||
> (logo only); `{{.CustomerName}}` stays in base data + login subtitle. **Logo policy decision: the
|
||||
> wordmark must be OUTLINED paths, never live `<text>`** — under `<img>` secure static mode only
|
||||
> locally-installed fonts resolve, so `font-family` in the SVG renders a fallback font everywhere.
|
||||
> **Part 4 (swap `FelhomLogoSVG`/`FelhomFaviconSVG` to the outlined master) is GATED OUT** — §3a check
|
||||
> against live felhom.eu `main` (`be9edb44`) found `website/assets/logo.svg` still has `<text>`/
|
||||
> `font-family`; the outlined master is Viktor's manual Inkscape push, still pending. Only the `?v=`
|
||||
> cache-bust (logo/favicon/login-logo, Cloudflare 4h edge-cache — the 0.126.1 failure mode) shipped
|
||||
> from the logo work. Follow-up: when Viktor pushes the outlined asset, ship Part 4 (swap constants +
|
||||
> clean the favicon's vestigial `<text>` nodes). Separately, the website + hub still serve their own
|
||||
> non-outlined logo copies — propagation is a distinct follow-up.
|
||||
|
||||
|
||||
> **2026-07-24 — v0.165.1 (native "Megosztás…" in the share modal, Web Share API).** The share modal
|
||||
> gains a feature-detected `navigator.share` button (OS share sheet → Messenger/WhatsApp/email),
|
||||
|
||||
Reference in New Issue
Block a user