Commit graph

136 commits

Author SHA1 Message Date
Julie Blanc
2eaf9aab7e add geoformat image
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 23s
2026-03-23 11:25:53 +01:00
Julie Blanc
75e7f375b3 img popup base
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 26s
2026-03-23 11:13:50 +01:00
isUnknown
1f3649fc14 fix element popup toggle: remove/re-enable cycle + inherited CSS comments
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 10m27s
Remove pre-toggle snapshot system that was re-adding CSS values after
removeProps, causing toggles to not properly disable styles and breaking
the off/on/off cycle. Reset refs to defaults on toggle-off so displayed
CSS shows inherited values. Fix hasInCss to exclude commented blocks.
Replace "valeur par défaut" with "hérité de la page" comments.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 17:04:05 +01:00
Julie Blanc
b544928a65 reload custom css 2026-03-09 15:37:05 +01:00
Julie Blanc
9c58edb425 defaults values title 2026-03-09 14:56:09 +01:00
Julie Blanc
3dd1f032f9 style actions-btn 2026-03-09 14:31:56 +01:00
Julie Blanc
c321a17f3e independant elements from p + delete p from li 2026-03-08 20:40:25 +01:00
Julie Blanc
048a1b67e6 defaults values reglages script 2026-03-08 20:15:45 +01:00
Julie Blanc
fc227bf519 general mechanism for default css 2026-03-08 10:38:59 +01:00
Julie Blanc
ec1b23d67a add module setting text-decoration 2026-03-08 09:54:36 +01:00
Julie Blanc
8a896277bf delete defaults values textSettings for inline elements 2026-03-08 09:38:24 +01:00
Julie Blanc
efa1004380 default for inline element 2026-03-08 09:35:45 +01:00
Julie Blanc
47bf70bb36 Defaul stylesheet print → new defaults.js (nique source of truth) + automatic generation of the default stylesheet for paged.js 2026-03-08 09:24:53 +01:00
Julie Blanc
ccdd9bda05 correction scroll preview 2026-03-08 08:51:22 +01:00
Julie Blanc
c3c9de2ca2 add zoom composant 2026-03-08 08:44:39 +01:00
Julie Blanc
59f6716121 correction page margins 2026-03-07 20:05:48 +01:00
Julie Blanc
3ae2d0e310 style panel settings 2026-03-07 19:59:01 +01:00
Julie Blanc
bd828e697c rebuild style for settings section 2026-03-07 18:51:08 +01:00
Julie Blanc
8bf7afddd2 factorisation ElementPopUp 2026-03-06 18:37:48 +01:00
Julie Blanc
3853d0d6e3 restructuration settings popup 2026-03-06 18:27:14 +01:00
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
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
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
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
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
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
isUnknown
b5b495d478 disable: comment out em/rem unit options, keep only px and mm for print
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 20s
Margins: px + mm only. Font sizes: px only.
em/rem buttons are commented out, not deleted, for potential future use.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 14:16:54 +01:00
isUnknown
de3bb2a274 fix: convert values when switching CSS units to preserve visual size
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
Previously, changing unit (e.g. mm → px) kept the numeric value unchanged,
causing visual changes. Now values are converted through a px pivot unit
so the rendered size stays the same.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 14:08:30 +01:00
isUnknown
342a6eccf1 fix: update Coloris color swatches in TextSettings after loading custom styles
Dispatch input events on color inputs after syncFromStore so Coloris
updates its ::before pseudo-element swatches with loaded values.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 14:02:33 +01:00