mirror of
https://github.com/Mail-0/Zero.git
synced 2026-07-01 08:16:28 +00:00
## Description This PR makes three targeted improvements: 1. Removes an unused import of `ThreadSubject` component from thread-display.tsx 2. Renames variable `idsToArchive` to `idsToMark` in mail-list-hotkeys.tsx to better reflect its purpose in the context of marking emails as important 3. Enhances error handling in the ZeroAgent class by attempting to re-setup authentication when a connection is missing before throwing an error ## Type of Change - [x] 🐛 Bug fix (non-breaking change which fixes an issue) - [x] ⚡ Performance improvement ## Areas Affected - [x] Email Integration (Gmail, IMAP, etc.) - [x] User Interface/Experience - [x] Authentication/Authorization ## Testing Done - [x] Manual testing performed ## Checklist - [x] I have performed a self-review of my code - [x] My changes generate no new warnings ## Additional Notes The authentication improvement in the ZeroAgent class adds a fallback mechanism to attempt re-authentication before failing, which should improve reliability when connections time out or are temporarily lost. --- _By submitting this pull request, I confirm that my contribution is made under the terms of the project's license._