Lucas Berger
139ef00ed4
feat(06-05): global session-expiry interstitial via QueryCache/MutationCache onError
- Add sessionExpired boolean + setSessionExpired action to Zustand calendarStore
- main.tsx: construct QueryClient with QueryCache+MutationCache onError (v5 pattern, not defaultOptions.onError)
- onGlobalError: checks instanceof SessionExpiredError, calls setSessionExpired(true) via store.getState()
- CalendarShell: read sessionExpired from store; render AuthSplash(state=redirecting, 'Session expired', 'Signing you back in…')
- CalendarShell: useEffect fires clearLoginRedirect + maybeRedirectToLogin after 1.5s when sessionExpired (one-shot guard re-armed)
- Context7 /tanstack/query confirmed v5 QueryCache/MutationCache constructor + onError signature
2026-06-10 11:32:45 -04:00
..
2026-06-09 13:01:49 -04:00
2026-06-09 21:45:59 -04:00
2026-06-10 11:31:17 -04:00
2026-06-09 12:03:52 -04:00
2026-06-09 12:03:52 -04:00
2026-06-10 11:32:45 -04:00
2026-06-09 12:45:19 -04:00
2026-06-05 18:44:40 -04:00
2026-06-05 18:46:24 -04:00
2026-06-05 14:30:32 -04:00
2026-06-05 18:44:40 -04:00
2026-06-05 18:46:24 -04:00
2026-06-09 11:02:09 -04:00
2026-06-09 11:02:09 -04:00
2026-06-05 17:26:02 -04:00
2026-06-09 21:09:41 -04:00
2026-06-09 13:13:11 -04:00
2026-06-09 12:45:19 -04:00
2026-06-09 12:45:19 -04:00
2026-06-09 12:45:19 -04:00
2026-06-09 13:33:04 -04:00
2026-06-09 21:50:48 -04:00
2026-06-10 11:23:01 -04:00
2026-06-09 22:39:05 -04:00
2026-06-05 18:43:36 -04:00
2026-06-09 10:41:55 -04:00