ultisuite-client/components/gmail
R3D347HR4Y c87670e90f
Some checks failed
E2E / Playwright e2e (push) Has been cancelled
feat(api): offline-first mail sync w/ TanStack Query
Move mail, compose, contacts, and accounts off mocks onto REST + WS.
Add client, auth store, IDB-backed query cache, offline queue, and
sync bar; hybrid Zustand for UI-only state. Settings still local until
backend has preferences API.
2026-05-23 00:04:28 +02:00
..
compose refactoed and sidebar better 2026-05-20 18:22:36 +02:00
contacts feat(api): offline-first mail sync w/ TanStack Query 2026-05-23 00:04:28 +02:00
contacts-page feat(api): offline-first mail sync w/ TanStack Query 2026-05-23 00:04:28 +02:00
email-list feat(api): offline-first mail sync w/ TanStack Query 2026-05-23 00:04:28 +02:00
email-view feat(api): offline-first mail sync w/ TanStack Query 2026-05-23 00:04:28 +02:00
mail-search refactoed and sidebar better 2026-05-20 18:22:36 +02:00
quick-settings huhu 2026-05-19 22:20:43 +02:00
sidebar refactoed and sidebar better 2026-05-20 18:22:36 +02:00
account-avatar.tsx feat(api): offline-first mail sync w/ TanStack Query 2026-05-23 00:04:28 +02:00
account-switcher-dropdown.tsx feat(api): offline-first mail sync w/ TanStack Query 2026-05-23 00:04:28 +02:00
calendar-invitation-preview.tsx huhu 2026-05-19 22:20:43 +02:00
compact-inbox-category-tabs.tsx huhu 2026-05-19 22:20:43 +02:00
compose-modal.tsx refactoed and sidebar better 2026-05-20 18:22:36 +02:00
contact-hover-card.tsx feat(api): offline-first mail sync w/ TanStack Query 2026-05-23 00:04:28 +02:00
email-label-picker-block.tsx Massive upgrades 2026-05-16 20:30:50 +02:00
email-list.tsx refactoed and sidebar better 2026-05-20 18:22:36 +02:00
email-view.tsx feat(api): offline-first mail sync w/ TanStack Query 2026-05-23 00:04:28 +02:00
header-account-actions.tsx feat(api): offline-first mail sync w/ TanStack Query 2026-05-23 00:04:28 +02:00
header.tsx Huhu 2026-05-20 14:06:44 +02:00
invitation-time-chip-text.tsx Refactor and enhance mobile experience with new components and layout adjustments. Updated TypeScript configurations, improved sidebar navigation, and added search functionality. Enhanced email view and invitation handling for better user interaction. 2026-05-18 00:17:51 +02:00
mail-date-text.tsx Massive upgrades 2026-05-16 20:30:50 +02:00
mail-folder-stack-indicator.tsx huhu 2026-05-19 22:20:43 +02:00
mail-inbox-category-tab-icons.tsx Refactor email components to enhance user experience with improved category tab icons and swipe functionality. Added new MailInboxCategoryTabIcons and MailListSwipeRow components, updated inbox tab handling, and refined styles for better visual consistency. 2026-05-18 12:22:16 +02:00
mail-label-pills.tsx Massive upgrades 2026-05-16 20:30:50 +02:00
mail-list-swipe-row.tsx Refactor email components to enhance user experience with improved category tab icons and swipe functionality. Added new MailInboxCategoryTabIcons and MailListSwipeRow components, updated inbox tab handling, and refined styles for better visual consistency. 2026-05-18 12:22:16 +02:00
mail-search-bar.tsx feat(api): offline-first mail sync w/ TanStack Query 2026-05-23 00:04:28 +02:00
mail-theme-applier.tsx huhu 2026-05-19 22:20:43 +02:00
mail-toaster.tsx huhu 2026-05-19 22:20:43 +02:00
mobile-bottom-bar.tsx Huhu 2026-05-20 14:06:44 +02:00
mobile-search-overlay.tsx feat(api): offline-first mail sync w/ TanStack Query 2026-05-23 00:04:28 +02:00
mobile-xs-bulk-sheets.tsx Massive upgrades 2026-05-16 20:30:50 +02:00
move-drag-indicator.tsx Massive upgrades 2026-05-16 20:30:50 +02:00
move-to-menu-items.tsx huhu 2026-05-19 22:20:43 +02:00
README.md refactoed and sidebar better 2026-05-20 18:22:36 +02:00
right-panel.tsx Hehe 2026-05-18 17:47:32 +02:00
sidebar.tsx refactoed and sidebar better 2026-05-20 18:22:36 +02:00
sync-status-bar.tsx feat(api): offline-first mail sync w/ TanStack Query 2026-05-23 00:04:28 +02:00

Composants Gmail — arborescence

Point dentrée publics (re-exports à la racine) :

Fichier racine Module réel
email-list.tsx email-list/
sidebar.tsx sidebar/
compose-modal.tsx compose/
compose-toolbar.tsx compose/
email-view.tsx email-view/ + lecture

Dossiers par fonctionnalité

components/gmail/
├── compose/           # Rédaction (fenêtre, manager, toolbar, destinataires)
├── email-list/        # Liste des messages
│   ├── hooks/         # data, labels, selection, reading
│   ├── attachments/
│   └── …
├── email-view/        # Lecture dun message
├── mail-search/       # Recherche avancée (desktop + mobile)
├── sidebar/           # Navigation latérale
├── contacts/          # Carnet dadresses
├── quick-settings/    # Réglages rapides
└── *.tsx              # Chrome global (header, search bar, swipe, …)

email-list/

  • email-list.tsx — orchestration (hooks → layout)
  • hooks/use-email-list-data.ts — filtrage, pagination, pull-refresh
  • hooks/use-email-list-labels.ts — libellés / déplacer
  • hooks/use-email-list-selection.ts — sélection, actions bulk
  • hooks/use-email-list-reading.ts — vue message, navigation clavier
  • email-list-layout.tsx — structure split / toolbars
  • email-list-body.tsx — zone scroll + lignes
  • email-list-toolbar.tsx — barre doutils
  • email-list-row.tsx — une ligne

sidebar/

  • sidebar.tsx — shell <aside>
  • use-sidebar-state.ts — état local + effets
  • sidebar-header.tsx — logo, compose, réglages
  • sidebar-nav-panel.tsx — nav principale, dossiers, libellés
  • sidebar-folder-row-expanded.tsx, sidebar-label-item-row.tsx, …

compose/

  • compose-window.tsx — UI fenêtre
  • use-compose-window.ts — éditeur TipTap, envoi, pièces jointes
  • compose-modal-manager.tsx — pile de fenêtres / sheet mobile
  • compose-recipients.tsx, compose-editor-chrome.tsx, compose-toolbar.tsx