From aa90d9811dd2434cb0181066ce80dc021d22411e Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 28 Nov 2025 22:04:51 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20d=C3=A9placer=20l'aide=20des=20raccourc?= =?UTF-8?q?is=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 && (