Commit Graph

6 Commits

Author SHA1 Message Date
Etienne Delvarre c518e01738 Fix hero image persistence: file upload instead of NocoDB base64
NocoDB LongText field has ~95KB limit, hero image is ~456KB base64.
New approach: POST /api/hero-upload saves image as file in /public/uploads/,
NocoDB stores only the path. Docker volume configured for persistence.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-29 11:49:43 +02:00
Etienne Delvarre 709d9e0ce6 Add Rédaction view: Binder + TipTap editor
Phase 1 of Solution 3 (Scrivener-inspired writing environment):
- Binder panel: scenes grouped by act, status indicators, word counts
- TipTap rich text editor with toolbar (bold, italic, headings, lists, blockquote)
- Auto-save after 1.5s of inactivity
- New NocoDB table "Contenu" (SceneId, Texte, Mots)
- API routes: GET/PUT /api/contenu/:sceneId, GET /api/contenu (word counts)
- Total word count in binder footer
- Navigation: Vision / Frise / Rédaction

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-29 11:32:40 +02:00
Etienne Delvarre 73dd0e0625 Increase Express JSON body limit to 5MB
Default 100KB was silently rejecting hero image uploads (~456KB base64).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-29 11:22:15 +02:00
Etienne Delvarre 0574b9ab1e Vision éditable — contenu chargé depuis NocoDB
- Nouvelle table NocoDB Vision (9 sections : trois-mots, phrase, synopsis, tags, listes, inspirations)
- Routes API /api/vision GET + PATCH dans server.js
- Frontend : contenteditable sur les champs texte, sauvegarde auto au blur
- Tags, listes et inspirations : ajout/suppression/édition en place
- Indicateur "Enregistré" discret en bas à droite
- Variable NOCODB_VISION_TABLE_ID ajoutée

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-29 08:49:26 +02:00
Etienne Delvarre 1c28953394 Fix auth gate — protect index.html behind login 2026-05-28 13:49:14 +02:00
Etienne Delvarre ce95a02012 Initial commit — TdB RdB frise narrative
Express.js + NocoDB + SortableJS drag-and-drop
Design V2 (Playfair Display + Lora, palette chaude)
Auth cookie, proxy NocoDB, édition en modal

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-28 13:39:47 +02:00