From 826a4fa99947411aedb107cd2feda422addd3cab Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 12 Nov 2025 16:40:01 +0000 Subject: [PATCH] =?UTF-8?q?Feature:=20Ajout=20en-t=C3=AAtes=20pour=20todos?= =?UTF-8?q?=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 */}