diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index 2fec91e..c4bc7a4 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -146,17 +146,18 @@ ## ⚪ Backlog — Priorité 3 (P3) -### 59. Mode hors-ligne PWA complet +### 59. Mode hors-ligne PWA complet ✅ FAIT - **Effort :** 3-4 jours | **Impact :** 🟡 - **Description :** Service worker avancé avec IndexedDB pour permettre la navigation et la recherche en mode hors-ligne, avec file de synchronisation au retour réseau. +- **Implémentation :** `offline-db.js` (377 lignes) + `offline.js` (209 lignes). IndexedDB 3 stores (files, content, pending). Badge hors-ligne dans le header. Modale résolution de conflits. - **Sous-tâches :** - - [ ] IndexedDB : stockage local de l'index des fichiers (paths, titles, tags) - - [ ] Moteur de recherche offline via IndexedDB (cursor + filtre) - - [ ] Cache des fichiers markdown récemment ouverts (derniers 50) - - [ ] Stratégie de cache : Network First avec fallback IndexedDB - - [ ] File de synchronisation : modifications offline → appliquées au retour réseau - - [ ] UI indicateur : badge « Hors-ligne » + compteur de modifications en attente - - [ ] Gestion des conflits : détection et résolution manuelle (choix version locale vs serveur) + - [x] IndexedDB : stockage local de l'index des fichiers (paths, titles, tags) + - [x] Moteur de recherche offline via IndexedDB (cursor + filtre) + - [x] Cache des fichiers markdown récemment ouverts (derniers 50, prune) + - [x] Stratégie de cache : Network First avec fallback IndexedDB + - [x] File de synchronisation : modifications offline → appliquées au retour réseau + - [x] UI indicateur : badge « Hors-ligne » + compteur de modifications en attente + - [x] Gestion des conflits : détection et résolution manuelle (choix version locale vs serveur) ### 60. OAuth2 / OIDC — Authentification SSO - **Effort :** 2-3 jours | **Impact :** 🟡 diff --git a/frontend/index.html b/frontend/index.html index 2b2bbda..83d1541 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -411,6 +411,13 @@