javier
|
4c4fec7a0a
|
feat: responsive compact mail view + folder unread badges
- CompactMailDelegate: card-based view for narrow panels (<420px)
* Avatar with hash-based color, sender + date (relative format)
* Subject line with attachment icon
* Action buttons: flag, delete, category, more (context menu)
* Unread highlight with light blue background + bold sender
- MailListView: automatic switch between tree/table (wide) and list/cards (narrow)
* QStackedWidget with QTreeView + QListView sharing same proxy model
* resizeEvent threshold at 420px
* Signals forwarded to MainMainWindow for actions
- FolderTreeDelegate: custom paint for folder tree
* Unread count badge (blue pill) right-aligned on folder nodes
* Account nodes bold, folder nodes normal weight
* Proper indentation per depth level
- MailItemDao::countUnreadByFolderId() for real-time unread counts
- MainMainWindow handlers for compact actions (flag, delete, category, more menu)
|
2026-08-24 23:25:13 +02:00 |
|
javier
|
a004bdd60f
|
feat: IMAP sync incremental + Account Setup Wizard + robust FETCH parser
- ImapSynchronizer::syncFolder(): detecta eliminados (UIDs locales no en servidor), fetch nuevos (sinceUid), actualiza flags (FLAGS batch)
- fetchAllUids(): SELECT + SEARCH ALL para lista completa UIDs servidor
- parseAndUpdateFlags(): FETCH FLAGS en lotes 100, update DB si cambió read/flagged
- AccountSetupDialog: integra ConnectionWizard para IMAP/POP3 con test de conexión real
- IMAP FETCH parser robusto: logging respuesta servidor + fallback UID-by-UID
- Fix: FETCH failed logging muestra first/last UID + respuesta truncada
|
2026-08-17 15:34:49 +02:00 |
|