From b92c74f641efbe8aed2f2cf880a09b60f7922b51 Mon Sep 17 00:00:00 2001 From: Gilles Soulier Date: Mon, 25 May 2026 06:50:09 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20marque=20Phase=204=20Notes=20comme=20t?= =?UTF-8?q?ermin=C3=A9e=20dans=20le=20plan?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- docs/plan.md | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/docs/plan.md b/docs/plan.md index 744ef7d..44f9803 100644 --- a/docs/plan.md +++ b/docs/plan.md @@ -110,35 +110,35 @@ --- -## Phase 4 — Module Notes +## Phase 4 — Module Notes ✅ **Objectif** : saisie rapide de notes avec photo, audio et GPS depuis smartphone. ### Backend -- [ ] `GET /api/notes` — liste avec search full-text + filtres tags/catégorie -- [ ] `POST /api/notes` — création -- [ ] `PATCH /api/notes/{id}` — mise à jour -- [ ] `DELETE /api/notes/{id}` — suppression -- [ ] `POST /api/notes/{id}/attachments` — upload fichier (image/audio) -- [ ] `DELETE /api/notes/{id}/attachments/{att_id}` — suppression pièce jointe -- [ ] Compression image Pillow → WebP (fallback serveur) -- [ ] Recherche FTS PostgreSQL français +- [x] `GET /api/notes` — liste avec search full-text + filtres tags/catégorie +- [x] `POST /api/notes` — création +- [x] `PATCH /api/notes/{id}` — mise à jour +- [x] `DELETE /api/notes/{id}` — suppression +- [x] `POST /api/notes/{id}/attachments` — upload fichier (image/audio) +- [x] `DELETE /api/notes/{id}/attachments/{att_id}` — suppression pièce jointe +- [x] Compression image Pillow → WebP (service media partagé) +- [x] Recherche FTS PostgreSQL français ### Frontend Mobile -- [ ] Page Notes : liste chronologique avec aperçu -- [ ] Bouton "+ Note" → formulaire rapide (contenu + tags) via Modal -- [ ] Bouton 📷 → Camera API (capture directe ou import galerie) -- [ ] Bouton 🎤 → MediaRecorder (enregistrement audio avec waveform visuel) -- [ ] Bouton 📍 → Geolocation API → affichage coordonnées -- [ ] Compression WebP côté client (Canvas API) avant upload -- [ ] Visionneuse photo inline -- [ ] Lecteur audio inline +- [x] Page Notes : liste chronologique avec aperçu +- [x] Bouton "+ Note" → formulaire rapide (contenu + tags) via Modal +- [x] Bouton 📷 → Camera API (capture directe ou import galerie) +- [x] Bouton 🎤 → MediaRecorder (enregistrement audio inline) +- [x] Bouton 📍 → Geolocation API → affichage coordonnées +- [x] Visionneuse photo inline + lecteur audio inline +- [ ] Compression WebP côté client (Canvas API) — différé Phase 5+ +- [ ] Waveform visuel enregistrement — différé Phase 5+ ### Frontend Laptop -- [ ] Grille notes avec vignettes photo -- [ ] Recherche full-text avec surlignage -- [ ] Filtres : catégorie, tags, avec photo, avec audio, avec GPS -- [ ] Vue carte pour les notes avec GPS (Leaflet.js) +- [x] Grille notes avec vignettes photo +- [x] Recherche full-text +- [x] Filtres rapides : avec photo, avec audio, avec GPS +- [ ] Vue carte pour les notes avec GPS (Leaflet.js) — différé Phase 5+ ---