From cee242e4553d561342bff435e862d0e323e47f7b Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 28 Nov 2025 22:02:39 +0000 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20garder=20le=20Pomodoro=20Timer=20act?= =?UTF-8?q?if=20m=C3=AAme=20quand=20le=20modal=20est=20ferm=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Rendre le PomodoroTimer dans une div cachée toujours montée - Cette instance continue de faire tourner le timer en arrière-plan - Le modal affiche une seconde instance pour les contrôles - Les deux instances partagent l'état via localStorage - Le timer continue maintenant de décompter même modal fermé --- src/pages/Index.tsx | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index 916b75d..1f8dfd5 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -3378,13 +3378,22 @@ const Index = () => { todos={todos} /> - {/* Pomodoro Timer Modal */} - + {/* Pomodoro Timer - Always mounted in hidden div to keep timer running */} +
- +
+ + {/* Pomodoro Timer Modal - Shows timer controls when opened */} + + + + Pomodoro Timer + +
+ +
+
+
{/* Quick Capture Widget */} From aa90d9811dd2434cb0181066ce80dc021d22411e Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 28 Nov 2025 22:04:51 +0000 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20d=C3=A9placer=20l'aide=20des=20racc?= =?UTF-8?q?ourcis=20vers=20une=20ic=C3=B4ne=20dans=20le=20header?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Retirer le raccourci '?' pour ouvrir l'aide - Ajouter une icône HelpCircle dans le header à côté du ModeToggle - L'aide est maintenant accessible via l'icône au lieu du raccourci clavier --- src/pages/Index.tsx | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index 1f8dfd5..067af4b 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -16,7 +16,7 @@ import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, Command import { RichTextEditor } from "@/components/RichTextEditor"; import { PlusCircle, Search, User, LogOut, Settings, ChevronDown, Plus, Archive, Trash2, - Image as ImageIcon, CheckSquare, FileText, Rss, ExternalLink, RefreshCw, Key, Zap, Paperclip, X, Edit, Calendar as CalendarIcon, Tag as TagIcon, MessageSquare, Send, Check, ChevronsUpDown, Star, Activity, FileDown, LayoutGrid, List, Sparkles, BarChart3, Clock + Image as ImageIcon, CheckSquare, FileText, Rss, ExternalLink, RefreshCw, Key, Zap, Paperclip, X, Edit, Calendar as CalendarIcon, Tag as TagIcon, MessageSquare, Send, Check, ChevronsUpDown, Star, Activity, FileDown, LayoutGrid, List, Sparkles, BarChart3, Clock, HelpCircle } from "lucide-react"; import AuthService from "@/services/AuthService"; import AdminService from "@/services/AdminService"; @@ -1016,12 +1016,6 @@ const Index = () => { }, preventDefault: false }, - { - key: '?', - shift: true, - description: 'Aide raccourcis', - handler: () => setShowKeyboardHelp(true) - }, { key: 'e', ctrl: true, @@ -1158,6 +1152,15 @@ const Index = () => { )} + + {user && (