Commit graph

191 commits

Author SHA1 Message Date
Julie Blanc
c43494f1c2 settings-subsection → section 2026-03-06 18:20:19 +01:00
Julie Blanc
6902a2fd0e display default value in popup 2026-03-06 18:11:36 +01:00
Julie Blanc
1832b031be popup move handle + resize 2026-03-06 18:07:27 +01:00
Julie Blanc
1dad95b726 toggle setting popup on block 2026-03-06 17:53:10 +01:00
Julie Blanc
295f63d271 repair panel CSS 2026-03-06 17:39:09 +01:00
Julie Blanc
564de8aba8 repair panel CSS 2026-03-06 17:18:04 +01:00
Julie Blanc
89e5fe6612 correction sans-serif default 2026-03-05 19:06:27 +01:00
Julie Blanc
bc2317ab69 3 values systeme for heritage 2026-03-05 19:00:29 +01:00
Julie Blanc
449f0eda31 defaults values from panel 2026-03-05 16:51:35 +01:00
Julie Blanc
ace75a3fb2 repair font-family module 2026-03-05 16:32:19 +01:00
Julie Blanc
cb9fd93e51 implement font-family module 2026-03-05 16:29:42 +01:00
Julie Blanc
6f5efb6fbc rename Inconsolata folder 2026-03-05 16:02:46 +01:00
Julie Blanc
8b99326de2 font-size, line-height, color → defaults values 2026-03-05 15:59:38 +01:00
Julie Blanc
fa56118e75 toggle all values 2026-03-05 14:49:58 +01:00
Julie Blanc
203ed18aba delete inherance 2026-03-05 11:42:18 +01:00
Julie Blanc
cc36b73325 add border settings 2026-03-05 11:08:44 +01:00
Julie Blanc
fc6391a53d margins + paddings in pop vue 2026-03-05 10:45:55 +01:00
Julie Blanc
154804ee44 add line-height possibility 2026-03-02 17:29:49 +01:00
Julie Blanc
eac7acdbc6 default styles print
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
2026-03-02 17:11:01 +01:00
Julie Blanc
cd65c35994 default styles print
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 25s
2026-03-02 17:06:42 +01:00
sarahgarcin1
e7998bff27 css narrative
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 24s
2026-02-27 13:52:17 +01:00
sarahgarcin1
0f8192eceb css narrative
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 25s
2026-02-27 13:50:51 +01:00
sarahgarcin1
68d23440e2 fix après changement de nom des champs 2
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 22s
2026-02-27 12:57:21 +01:00
sarahgarcin1
25fc60ebe9 fix après changement de nom des champs
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
2026-02-27 12:51:47 +01:00
sarahgarcin1
153e75c0a9 merge + ajout des boutons sur les tuiles page projet + css page narrative
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 25s
2026-02-27 12:24:35 +01:00
isUnknown
ea277917f7 template projet --> project
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
2026-02-26 17:35:24 +01:00
isUnknown
64daeb546c revert(ci): restore original deploy.yml
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
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>
2026-02-26 17:25:32 +01:00
isUnknown
d3feb11628 fix(ci): assemble dist/ from public/ before FTP deploy
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>
2026-02-26 17:18:54 +01:00
isUnknown
bb1a48f3d6 fix(ci): exclude kirby/panel/dist from FTP --delete
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>
2026-02-26 17:13:25 +01:00
isUnknown
76dee1b074 fix: align content field names with blueprints, fix API field calls
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
Content .txt files:
- narrative.txt (×4): Introduction → Intro
- chapter.txt (×3): Text → Body
- geoformat.txt: Intro → Text
- map.txt: move Text content into Intro field

narrative.json.php:
- parseChapter: $chapter->text() → $chapter->body()
- parseMarker: $marker->text() → $marker->body()
- parseMap: $map->text() → $map->intro()
- narrative root: $page->introduction() → $page->intro()

Also commits Kirby content directory rename (1_cohesion-des-mondes → cohesion-des-mondes)
and new _drafts content.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 17:09:51 +01:00
isUnknown
f3c7132044 refactor: simplify ElementPopup with flat refs and style descriptors
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 22s
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>
2026-02-26 15:47:58 +01:00
isUnknown
69d5ebe7ed refactor: extract shared patterns from popup/settings components
- Create useColoris composable (shared Coloris init across 4 files)
- Create useLinkedSpacing composable (linked margin/padding logic from TextSettings)
- Create BasePopup component (shared popup shell, CSS editor, inheritance button)
- Add watchProp helper in ElementPopup (12 watchers → 12 compact lines)
- Use extractSpacing for @page margin parsing in PagePopup and PageSettings

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 15:35:45 +01:00
isUnknown
0c682c78c0 rename parseCarte → parseMap, fix marker icon size, remove testing checklist
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 15:10:14 +01:00
isUnknown
41fbe71a1f feat: render full map content (image, intro, markers) in PagedJS
- 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>
2026-02-26 15:00:28 +01:00
isUnknown
9d80845335 improve map blueprint layout 2026-02-26 11:37:54 +01:00
isUnknown
d07522ae7f map blueprint : layout and field text -> intro 2026-02-26 11:35:30 +01:00
isUnknown
45a41e5d89 coverLabel : add " 2026-02-26 11:30:32 +01:00
isUnknown
033023f6ef refactor: move coverFiles to plugin as page/file methods
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>
2026-02-26 11:30:32 +01:00
isUnknown
c8c544e427 merge 2026-02-26 11:30:25 +01:00
isUnknown
c5cc94bf5d feat: add geoformat page model with coverFiles method
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>
2026-02-26 11:29:07 +01:00
isUnknown
9482dfa08c refactor: restructure blueprints with tabs and shared fields
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>
2026-02-26 11:29:07 +01:00
isUnknown
ffcb1a9f2e rename: chapitre/projet templates to chapter/project
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>
2026-02-26 11:29:07 +01:00
sarahgarcin1
99a924010f page projet.php
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 22s
2026-02-26 09:11:39 +01:00
sarahgarcin1
95efcac454 merge
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
2026-02-24 19:49:50 +01:00
sarahgarcin1
f6032f717d narrative web version 2026-02-24 19:47:30 +01:00
isUnknown
9ea02b2465 fix: capture map image immediately on "Définir le cadrage" click
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
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>
2026-02-24 15:26:40 +01:00
isUnknown
e806f6ac48 disable: mark font selector and pattern field as upcoming features
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
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>
2026-02-24 15:08:08 +01:00
isUnknown
5d43a772bc fix: target p instead of body for font-style italic in TextSettings
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 15:03:50 +01:00
isUnknown
9f62d3ae5d feat: add custom page format with editable width/height fields
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 20s
Keep only A4/A5 + "Personnalisé" option. Width/height fields use same
layout as margin fields and are editable only in custom mode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 14:51:00 +01:00
isUnknown
b808e22274 fix: target p instead of body for text background-color in TextSettings
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 14:44:12 +01:00