feat(builder-carto): refonte « carte plein écran » (panneaux flottants, onboarding, export) - #472
Merged
Merged
Conversation
…nboarding, export) La carte générée devient l'aperçu permanent : plein écran, cadrage exporté synchronisé sur la navigation (moveend/zoomend → state). Édition dans trois panneaux flottants (Carte / Couches / Éléments), choix des données dans une modale d'onboarding (jeu d'exemple, URL, source enregistrée), export dans une modale dédiée (mode embarqué/autonome, copie, favori, playground). Encarts territoriaux visibles en bandeau de vignettes dans l'aperçu, diagnostic d'aperçu conservé (compte hors encarts, re-check au retour de visibilité). Tour guidé partagé réaligné (v2). Implémente la maquette Claude Design « Builder carto - refonte ». Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
bmatge
force-pushed
the
feat/builder-carto-refonte-design
branch
from
August 19, 2026 10:58
4359560 to
8d14055
Compare
Open
This was referenced Aug 19, 2026
bmatge
added a commit
that referenced
this pull request
Aug 19, 2026
…481) La refonte carte plein écran (#472) avait retiré l'app-header partagé au profit d'une topbar carto minimaliste. On perdait ainsi la navigation vers les autres apps (Sources, Builder, Dashboard...). Solution : superposer les deux barres, header commun en haut avec la nav DSFR + les liens outils, topbar carto simplifiée en dessous avec les actions carto-spécifiques (Exécuter / Obtenir le code). Les liens redondants (logo RF, Guide, bouton Favoris) sont retirés de la topbar carto — le bouton « Sauvegarder en favori » reste accessible depuis la modale d'export. Le layout passe de position:absolute plein-viewport à flex column, avec une CSS variable --carto-header-h mesurée au runtime via ResizeObserver (le fr-header varie selon breakpoint). state.map.height inclut désormais cette variable dans son calc(). Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bmatge
added a commit
that referenced
this pull request
Aug 19, 2026
Format non-conforme laissé par la refonte builder-carto (#472) : union type pipé sur 4 lignes → single-line (règle prettier 3.9.6). Le pre-commit hook n'écrit que sur les fichiers modifiés dans le commit, ce bout de fichier n'ayant pas été retouché depuis, il passait sous le radar. La CI `format:check` scanne tout et bloque. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bmatge
added a commit
that referenced
this pull request
Aug 19, 2026
) * chore(security): bump jsdom>undici override 7.28 → ^7.29.0 (5 CVE) Ferme les 5 alertes Dependabot ouvertes sur bmatge/dsfr-data (GHSA #81, #83, #85, #87, #89, toutes sur undici 7.0.0–7.28.0) : - CRLF Injection via blob-like body 'type' (moderate) - cookie attribute injection via unsanitized domain (moderate) - cross-user info disclosure via whitespace in Cache-Control (moderate) - cross-user info disclosure + parse-time crash via private cache directives (high) - downstream response desynchronization via retry interceptor (moderate) L'override root a été introduit en #343 (juin) pour patcher un lot HIGH précédent — même pattern ici, on bump juste vers la version fixed. undici@8.10.0 direct (racine) reste tel quel (non affecté par ces CVE). Bonus : `npm audit fix` remonte brace-expansion@5.0.8 → 5.0.9 (GHSA-rgw5-rvv9-x895, high, DoS via unbounded intermediate arrays). `npm audit --audit-level=high` : 0 vulnerabilities. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * chore(format): prettier sur apps/builder-carto/src/main.ts Format non-conforme laissé par la refonte builder-carto (#472) : union type pipé sur 4 lignes → single-line (règle prettier 3.9.6). Le pre-commit hook n'écrit que sur les fichiers modifiés dans le commit, ce bout de fichier n'ayant pas été retouché depuis, il passait sous le radar. La CI `format:check` scanne tout et bloque. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refonte du builder carto
Implémente la maquette Claude Design « Builder carto - refonte » : l'app passe d'un layout 3 colonnes + panneau d'aperçu à une carte plein écran qui EST l'aperçu, éditée par panneaux flottants.
Ce qui change
dsfr-data-map(pipeline complet) occupe tout l'écran ; le cadrage exporté suit la navigation (syncmoveend/zoomend→ state viagetLeafletMap()). L'aperçu ne diffère de l'export que sur 3 points : hauteur plein écran, compagnon a11y omis, fit-bounds ponctuel sur « Exécuter ».app-header/app-preview-panelretirés de cette app).packages/shared) — démarre après le premier choix de données.Non modifié
state.ts,ui/code-generator.ts,field-service.ts— le code généré est identique.Vérifications
#layers-list,#btn-execute,__BUILDER_CARTO_STATE__préservés)check:accentspropre · changeset patch inclus🤖 Generated with Claude Code