Skip to content

feat: websocket support, app lock and initial tauri additions#5

Merged
shaunwarman merged 1 commit into
mainfrom
feat/cherry-pick-webmail-tauri
Mar 13, 2026
Merged

feat: websocket support, app lock and initial tauri additions#5
shaunwarman merged 1 commit into
mainfrom
feat/cherry-pick-webmail-tauri

Conversation

@shaunwarman
Copy link
Copy Markdown
Collaborator

  • WebSocket real-time updates: Fixed authenticated WebSocket connections by passing credentials via query params (browser WebSocket API limitation). Added handling for the server's connected event auth confirmation protocol.
  • App lock UX: Added 30-second grace period for lock-on-minimize to prevent locking on brief tab switches. Applies to both browser visibility change and Tauri window blur.
  • Tauri desktop & mobile setup: Full Tauri 2 integration with platform-conditional compilation (#[cfg(desktop)] / #[cfg(mobile)]), split capabilities for desktop-only plugins (updater, window-state), and Android build support.
  • Bug fixes: Bulk delete now refreshes inbox count, arrow key navigation highlights active message, SMTP 550 rate limit errors surface properly instead of "internal server error".
  • Android compatibility: Added polyfills for structuredClone and String.replaceAll for older WebViews (API 30).
  • Transient empty response guard: Inbox no longer clears when the API returns a transient empty result for a basic folder query with cached data present.

@shaunwarman shaunwarman force-pushed the feat/cherry-pick-webmail-tauri branch from 05511e9 to 278a35c Compare March 13, 2026 16:44
@shaunwarman shaunwarman merged commit d0f5db5 into main Mar 13, 2026
1 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant