mirror of
https://github.com/IliesAllali/parenthese.git
synced 2026-11-13 08:22:03 +00:00
Les modifications en cours d'une fiche ne sont plus perdues quand on change de personne, ferme la fiche, sort du mode modification, ouvre un souvenir, ajoute une personne ou envoie les contributions. - La fiche enregistre par le même chemin que « Enregistrer » (onSave), pour la personne quittée. Un échec ou une validation la garde ouverte avec le message d'erreur. - Invité en contribution : les changements vont dans le brouillon, puis partent avec « Envoyer ». - Un petit message confirme l'enregistrement. Rien n'est enregistré quand rien n'a changé, ni en démo. - Un second enregistrement pendant l'envoi reçoit la même promesse (utils/saveOnLeave.js), sans double appel. Co-Authored-By: Claude Haiku 5.5 <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.