Commit Graph

6 Commits

Author SHA1 Message Date
Mo Tarbin
1ddf2539e0 Improve circle joining experiance 2026-08-08 13:40:21 -04:00
Mo Tarbin
f92063dfe9 hotfix: OAuth login being aborted by a forced logout on Android
The app logged itself out in the middle of the OAuth code exchange,
tearing down the page before the callback request could finish.

On resume, the deep-link handler and the sync-on-resume listener fire in
the same tick. Sync ran first, hit a 401 (no session exists yet), and
ApiClient treated that as an expired session: it cleared tokens, wiped
the offline DB, and hard-navigated to /login via window.location.href.
That reload aborted the in-flight POST /auth/oauth2/callback, surfacing
as "Authentication request failed TypeError: Failed to fetch".
2026-07-28 20:45:29 -04:00
Mo Tarbin
43f804c7a8 Fix: Export polling constants and synchronize retry intervals in SyncStatusIndicator 2026-06-30 01:21:17 -04:00
Mo Tarbin
4e0b5d79df feat: enhance offline support with improved network management and sync handling 2026-06-06 00:58:18 -04:00
Mo Tarbin
d618a09f6d add network listener management and enhance sync on reconnect functionality 2026-05-16 19:33:07 -04:00
Mo Tarbin
2c353628a3 feat: implement offline support for labels and projects, enhance advanced settings with offline feature toggle, and add sync status indicator
- Added offline support for fetching and caching labels and projects using `offlineDB`.
- Enhanced `AdvancedSettings` to include an offline feature toggle with confirmation modal for disabling offline support.
- Introduced `SyncStatusIndicator` component to display sync status, pending commands, and failed commands.
- Created `PendingBadge` component to manage and display pending actions for synchronization.
- Removed deprecated offline mode toggle from `StorageSettings`.
- Improved error handling and user notifications for offline actions and sync processes.
2026-05-11 17:27:29 -04:00