diff --git a/docs/23_LISTE-TICKETS.md b/docs/23_LISTE-TICKETS.md index a0996d0..5aab1da 100644 --- a/docs/23_LISTE-TICKETS.md +++ b/docs/23_LISTE-TICKETS.md @@ -1,7 +1,7 @@ # 🎫 Liste Complète des Tickets - Projet P'titsPas -**Version** : 1.7 -**Date** : 25 Mars 2026 +**Version** : 1.8 +**Date** : 17 avril 2026 **Auteur** : Équipe PtitsPas **Estimation totale** : ~208h @@ -9,7 +9,7 @@ ## 🔗 Liste des tickets Gitea -**Les numéros de section dans ce document = numéros d’issues Gitea.** Ticket #14 dans le doc = issue Gitea #14, etc. Source : dépôt `jmartin/petitspas` (état au 25 mars 2026 ; #106, #107, #109, #119 fermés via API). +**Les numéros de section dans ce document = numéros d’issues Gitea.** Ticket #14 dans le doc = issue Gitea #14, etc. Source : dépôt `jmartin/petitspas` (état au 17 avril 2026 ; #50, #106, #107, #109, #119 fermés via API). | Gitea # | Titre (dépôt) | Statut | |--------|----------------|--------| @@ -58,7 +58,7 @@ | 47 | [Frontend] Écran Changement MDP Obligatoire | ✅ Fermé | | 48 | [Frontend] Gestion Erreurs & Messages | Ouvert | | 49 | [Frontend] Écran Gestion Documents Légaux (Admin) | Ouvert | -| 50 | [Frontend] Affichage dynamique CGU lors inscription | Ouvert | +| 50 | [Frontend] Affichage dynamique CGU lors inscription | ✅ Fermé | | 51 | [Frontend] Écran Logs Admin (optionnel v1.1) | Ouvert | | 52 | [Tests] Tests unitaires Backend | Ouvert | | 53 | [Tests] Tests intégration Backend | Ouvert | @@ -1035,17 +1035,25 @@ Le dashboard admin (onglets Gestionnaires | Parents | Assistantes maternelles | --- -### Ticket #50 : [Frontend] Affichage dynamique CGU lors inscription +### Ticket #50 : [Frontend] Affichage dynamique CGU lors inscription ✅ **Estimation** : 2h -**Labels** : `frontend`, `p3`, `juridique` +**Labels** : `frontend`, `p3`, `juridique` +**Statut** : ✅ Fermé (Gitea, 2026-04-17) — livré sur `develop`, squash merge sur `master`. **Description** : Afficher dynamiquement les CGU/Privacy lors de l'inscription (avec numéro de version). +**Livré** : +- Modale bloquante CGU / politique (`cgu_privacy_validation_dialog`), PDF via pdfx. +- `UserService` : documents légaux actifs ; `ApiConfig` : URLs média absolues. +- Intégration `PresentationFormScreen` ; dépendances `pdfx`, `universal_platform`. + **Tâches** : -- [ ] Appel API `GET /documents-legaux/actifs` -- [ ] Liens vers PDF avec numéro de version -- [ ] Envoi version acceptée lors inscription +- [x] Appel API `GET /documents-legaux/actifs` +- [x] Liens vers PDF avec numéro de version +- [x] Prise en compte de l’acceptation dans le flux inscription (booléen + modale) + +**Note** : persistance horodatée / versions côté API utilisateur : ticket #34. --- diff --git a/frontend/pubspec.lock b/frontend/pubspec.lock index 752a6b7..7a30067 100644 --- a/frontend/pubspec.lock +++ b/frontend/pubspec.lock @@ -57,22 +57,6 @@ packages: url: "https://pub.dev" source: hosted version: "3.0.3" - device_info_plus: - dependency: transitive - description: - name: device_info_plus - sha256: "77f757b789ff68e4eaf9c56d1752309bd9f7ad557cb105b938a7f8eb89e59110" - url: "https://pub.dev" - source: hosted - version: "9.1.2" - device_info_plus_platform_interface: - dependency: transitive - description: - name: device_info_plus_platform_interface - sha256: "0b04e02b30791224b31969eb1b50d723498f402971bff3630bca2ba839bd1ed2" - url: "https://pub.dev" - source: hosted - version: "7.0.2" extension: dependency: transitive description: @@ -433,18 +417,18 @@ packages: dependency: "direct main" description: name: pdfx - sha256: c0f70ab6691b7cde02c0c204763a1edb2689ce245ac34eb629c66273a6aa1caf + sha256: "29db9b71d46bf2335e001f91693f2c3fbbf0760e4c2eb596bf4bafab211471c1" url: "https://pub.dev" source: hosted - version: "2.6.0" + version: "2.9.2" photo_view: dependency: transitive description: name: photo_view - sha256: "8036802a00bae2a78fc197af8a158e3e2f7b500561ed23b4c458107685e645bb" + sha256: "1fc3d970a91295fbd1364296575f854c9863f225505c28c46e0a03e48960c75e" url: "https://pub.dev" source: hosted - version: "0.14.0" + version: "0.15.0" platform: dependency: transitive description: @@ -566,10 +550,10 @@ packages: dependency: transitive description: name: synchronized - sha256: "539ef412b170d65ecdafd780f924e5be3f60032a1128df156adad6c5b373d558" + sha256: "0669c70faae6270521ee4f05bffd2919892d42d1276e6c495be80174b6bc0ef6" url: "https://pub.dev" source: hosted - version: "3.1.0+1" + version: "3.3.1" term_glyph: dependency: transitive description: @@ -694,26 +678,10 @@ packages: dependency: transitive description: name: web - sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27" + sha256: "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a" url: "https://pub.dev" source: hosted - version: "0.5.1" - win32: - dependency: transitive - description: - name: win32 - sha256: "0eaf06e3446824099858367950a813472af675116bf63f008a4c2a75ae13e9cb" - url: "https://pub.dev" - source: hosted - version: "5.5.0" - win32_registry: - dependency: transitive - description: - name: win32_registry - sha256: "10589e0d7f4e053f2c61023a31c9ce01146656a70b7b7f0828c0b46d7da2a9bb" - url: "https://pub.dev" - source: hosted - version: "1.1.3" + version: "1.1.1" xdg_directories: dependency: transitive description: @@ -723,5 +691,5 @@ packages: source: hosted version: "1.1.0" sdks: - dart: ">=3.7.0-0 <4.0.0" - flutter: ">=3.19.0" + dart: ">=3.7.0 <4.0.0" + flutter: ">=3.24.0" diff --git a/frontend/pubspec.yaml b/frontend/pubspec.yaml index d9f9b57..3af0d69 100644 --- a/frontend/pubspec.yaml +++ b/frontend/pubspec.yaml @@ -20,7 +20,7 @@ dependencies: url_launcher: ^6.2.4 http: ^1.2.2 # flutter_secure_storage: ^9.0.0 - pdfx: ^2.5.0 + pdfx: ^2.9.2 universal_platform: ^1.1.0 dev_dependencies: