fix: sync mobile routing with browser URL for direct navigation (refs #163)

URL-to-screen sync on mount and screen-to-URL sync via replaceState
enable direct URL navigation, page refresh, and bookmarks on mobile.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Eric Gullickson
2026-02-13 19:35:53 -06:00
parent 325cf08df0
commit 0e8c6070ef
3 changed files with 57 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
// Export navigation store
export { useNavigationStore } from './navigation';
export { useNavigationStore, routeToScreen, screenToRoute } from './navigation';
export type { MobileScreen, VehicleSubScreen } from './navigation';
// Export user store