diff --git a/BUGS.md b/BUGS.md new file mode 100644 index 0000000..5f43e16 --- /dev/null +++ b/BUGS.md @@ -0,0 +1,34 @@ +# Bugs & problèmes connus — visitapp-web + +## Sections — données non récupérées + +> **Fix appliqué** : le backend retourne un JSON plat (toutes les DTOs héritent de SectionDTO), +> mais le TypeScript attendait une structure imbriquée (`section.map.points` etc.). +> `normalizeSectionDTO()` dans `client.ts` restructure la réponse. À valider en prod. + +- [x] **Section Carte** — fix normalization + `CategorieDTO.label` (était `name`) +- [x] **Section Slider** — fix normalization +- [x] **Section Menu** — fix normalization (récursif pour les sous-sections) +- [x] **Section Quiz** — fix normalization +- [x] **Section Agenda** — fix normalization +- [x] **Section Météo** — fix normalization + +## Affichage + +- [x] **Section Agenda — visuel des cartes** — liste horizontale minimaliste remplacée par une grille 2 colonnes avec image pleine largeur + badge date (calquée sur Flutter `event_list_item.dart`) +- [x] **Section PDF** — remplacé `