mdcms/app
Claude 4c8ca31651
fix: hidden categories now auto-switch to default instead of showing error
Two bugs fixed in navigateTo:

1. When a category has visibilityifnocontent: hidden (default) and the
   current page has no variant for it, the renderer now silently switches
   to the default category before fetching. Previously the category stayed
   active (kept visible in the selector via the activeCategory guard),
   the fetch failed, and an error page was shown.

2. The offline message stored in localStorage was shown for any failed
   fetch, not just genuine offline situations. Now gated on !navigator.onLine
   so missing pages always show pagenotfoundmessage instead.
2026-05-21 15:27:10 +00:00
..
assets New standard favicon added. 2026-05-19 15:52:06 +07:00
pages Phase 7 test setup: PWA config, sample pages, test_phase.py wiring 2026-05-17 19:11:33 +00:00
posts Rename website/ directory to app/ 2026-05-08 15:29:54 +00:00
config.yml Add full Apache 2.0 licence notice to all relevant files 2026-05-18 07:11:00 +00:00
index.html fix: hidden categories now auto-switch to default instead of showing error 2026-05-21 15:27:10 +00:00
manifest.json Add M favicon, fix manifest for PWA installability 2026-05-17 20:33:00 +00:00
nav.yml Rebuild nav.yml and search.json for phase7 test pages 2026-05-17 20:33:17 +00:00
search.json Rebuild nav.yml and search.json for phase7 test pages 2026-05-17 20:33:17 +00:00
service-worker.js Add M favicon, fix manifest for PWA installability 2026-05-17 20:33:00 +00:00
theme.yml Add configurable nav section toggle icons 2026-05-18 15:08:59 +00:00