mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 04:50:59 +00:00
Login only wiped the in-memory query cache; the IndexedDB query snapshot and the service-worker data/page caches from the previous account stayed on disk. Logout and the 401/expiry redirect already drop all three. Run the same offline-cache wipe on a successful login too, before the new user's dashboard prefetch warms, so a fresh sign-in on a shared browser inherits nothing from the prior session. The per-account restore guard still stands; this removes the stale data at the source. Settings shell: move focus to the section heading when the active section changes within the mounted shell, so keyboard and screen-reader users are placed in the new content instead of being left on the nav link they activated. The first mount is skipped to avoid an unexpected focus move on a deep link. Raise the inactive sub-tab text from muted-foreground to foreground/70 so it clears the WCAG AA contrast floor over the tinted sub-tab strip.