openreader/src/components/auth
Richard R d3c7831f70 fix: address hook violations and improve resource reliability
- Refactor useAuthSession to call useSession unconditionally, adhering to React Rules of Hooks by using a stub client when auth is disabled.
- Update migration script to insert a system user to satisfy foreign key constraints during database transitions.
- Implement AbortController and timeouts in entrypoint endpoint polling to prevent hanging fetch requests.
- Use useMemo in PDFViewer to provide a stable file object, preventing unnecessary re-renders and warnings.
- Enhance state cleanup in EPUBContext and AuthLoader to handle missing metadata or disallowed sessions gracefully.
2026-02-15 13:31:06 -07:00
..
AuthLoader.tsx fix: address hook violations and improve resource reliability 2026-02-15 13:31:06 -07:00
ClaimDataModal.tsx feat: add user preferences and document progress syncing 2026-02-11 13:58:16 -07:00
RateLimitBanner.tsx refactor(auth): bootstrap anonymous sessions via AuthLoader 2026-01-28 02:39:44 -07:00
UserMenu.tsx feat(auth): implement session gatekeeping and architectural reorganization 2026-02-15 11:12:42 -07:00