From 826a4fa99947411aedb107cd2feda422addd3cab Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 12 Nov 2025 16:40:01 +0000 Subject: [PATCH 1/2] =?UTF-8?q?Feature:=20Ajout=20en-t=C3=AAtes=20pour=20t?= =?UTF-8?q?odos=20et=20fichiers=20dans=20les=20notes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ajout d'en-têtes descriptifs dans les notes: - "todo list:" au-dessus de la section des checkboxes (todos) - "Fichiers divers : Fichier(s)" au-dessus de la section des fichiers joints Améliore la lisibilité et l'organisation visuelle des notes contenant des todos et des fichiers. --- src/pages/Index.tsx | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index 844b815..45facfa 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -1132,10 +1132,12 @@ const Index = () => { {/* Todos */} {openNote.todos && openNote.todos.length > 0 && ( - - -
- {openNote.todos.map((todo, index) => ( + <> +
todo list:
+ + +
+ {openNote.todos.map((todo, index) => (
{
- ))} -
-
-
+ ))} +
+
+
+ )} {/* Images in thumbnails */} @@ -1206,10 +1209,14 @@ const Index = () => { {/* Files */} {openNote.files && openNote.files.length > 0 && ( - - -
- {openNote.files.map((file: any, index: number) => ( + <> +
+ Fichiers divers : Fichier(s) +
+ + +
+ {openNote.files.map((file: any, index: number) => (
@@ -1258,10 +1265,11 @@ const Index = () => {
- ))} -
-
-
+ ))} +
+
+
+ )} {/* Rich text editor */} From 2ebef22dd833bc951a72bcdd1290f1bb34c6f6d7 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 12 Nov 2025 16:43:03 +0000 Subject: [PATCH 2/2] UX: Remplacement du bouton retour par un bouton enregistrer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Améliorations de l'interface utilisateur des notes: - Suppression du bouton "Retour aux notes" en haut à gauche - Ajout d'un bouton "Enregistrer" en bas à droite de la note - Améliore l'ergonomie et la clarté de l'action de sauvegarde Le bouton enregistrer permet de fermer la note et revenir à la liste, rendant l'action explicite pour l'utilisateur. --- src/pages/Index.tsx | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index 45facfa..8321da5 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -1002,14 +1002,7 @@ const Index = () => { /* Open Note Editor */
- +
+ + {/* Save button */} +
+ +
)}