378d91648b
PostDetail now uses Artefacts exclusively for all 4 asset types: - Caption copy = Artefact with type='copy', copy_type='caption' - Body copy = Artefact with type='copy', copy_type='body' - Design = Artefact with type='design' - Video = Artefact with type='video' Removed TranslationDetailPanel from PostDetail entirely. Same ArtefactDetailPanel, same workflow, same version management for all asset types. Link picker searches artefacts only. Server: copy_type added to Artefacts schema, accepted in POST/PATCH. post-composition.js rewritten to use Artefacts table for all pieces. Content preview fetched from ArtefactVersionTexts. Translations entity still exists for the standalone Copy page. Also: version creation rules, submit-review content validation, reviewer mandatory for translations, artefact creation simplified. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.