The real fix was in .gitignore (dist → /dist) so panel/dist
is now properly tracked. The CI workarounds are no longer needed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
npm run build only outputs assets/dist/ (Vite JS/CSS).
Add an explicit step to copy kirby/, vendor/, site/, assets/fonts+svg
and index.php from public/ into dist/ so the FTP mirrors have
the correct source. Also removes the wrong panel/ workaround.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The panel/dist is compiled by Kirby and not in the repo.
The mirror --delete was wiping it on every deploy.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Flatten ref({ value }) to simple ref(), replace 9 updateX functions with
a generic updateProp driven by descriptor arrays, and loop over descriptors
in generatePreviewCss/loadValuesFromStylesheet/applyAllStyles. Remove
trivial passthrough computed properties. (-123 lines)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix template check 'carte' → 'map' so map subpages are served by API
- Add parseMarker() and enrich parseCarte() with static image, intro, markers
- Include map children in parseGeoformat() alongside chapters
- Resolve map block references in chapters to full carte data
- Update narrative store flattening with new carte fields
- Replace MapBlock placeholder with full carte rendering (title, image, tags, intro, markers with icons and blocks)
- Add default marker-pin.svg for markers without custom icon
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace GeoformatPage model with a plugin registering coverFiles as a
pageMethod (available on all pages) and coverLabel as a fileMethod to
display "Carte [title]" for map children files.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Expose combined files (page files + map children files) for the cover
field query in the geoformat blueprint.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Reorganize narrative, geoformat, chapter, project and map blueprints
to use tabs layout. Add shared blueprint fields and files tab partials.
Update map block query for new page hierarchy.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Standardize French template names to English across blueprints,
content files, PHP templates, Vue components and Pinia stores.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Save map data directly via API instead of emit('input') to avoid
draft state. Capture image, clear flag, then reload — the panel
shows the correct image in a single reload.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Both use field--view-only styling with disabled inputs and
"Fonctionnalité à venir" tooltip. Italic checkbox remains active.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>