From 52d213da67272851fbfcc062f58eb32de2d34b8e Mon Sep 17 00:00:00 2001 From: Antigravity Date: Fri, 19 Jun 2026 21:22:19 +0000 Subject: [PATCH] =?UTF-8?q?revert:=20toolbar=20restaur=C3=A9e=20=C3=A0=20l?= =?UTF-8?q?'=C3=A9tat=2085b7e6e=20=E2=80=94=20le=20redesign=20cassait=20to?= =?UTF-8?q?ut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le redesign du toolbar a détruit le layout existant. Restauration à la version précédente qui fonctionnait (organize restauré + CSV). --- memento-note/components/home-client.tsx | 215 ++++++++++++++++-------- 1 file changed, 145 insertions(+), 70 deletions(-) diff --git a/memento-note/components/home-client.tsx b/memento-note/components/home-client.tsx index c3a9061..8560891 100644 --- a/memento-note/components/home-client.tsx +++ b/memento-note/components/home-client.tsx @@ -20,7 +20,7 @@ import { import { NotebookSuggestionToast } from '@/components/notebook-suggestion-toast' import { Button } from '@/components/ui/button' -import { Plus, ArrowUpDown, Search, Sparkles, FileText, FolderOpen, ChevronRight, Tag as TagIcon, X, Menu, LayoutGrid, List, Table, Columns3, CalendarDays, Wand2, Download, Upload, MoreHorizontal } from 'lucide-react' +import { Plus, ArrowUpDown, Search, Sparkles, FileText, FolderOpen, ChevronRight, Tag as TagIcon, X, Menu, LayoutGrid, List, Table, Columns3, CalendarDays, Wand2, Download, Upload } from 'lucide-react' import { emitNoteChange } from '@/lib/note-change-sync' import { useReminderCheck } from '@/hooks/use-reminder-check' import { useAutoLabelSuggestion } from '@/hooks/use-auto-label-suggestion' @@ -34,7 +34,6 @@ import { StudyPlannerDialog } from '@/components/wizard/study-planner-dialog' import { NotebookOrganizerDialog } from '@/components/wizard/notebook-organizer-dialog' import { toast } from 'sonner' import { AnimatePresence, motion } from 'motion/react' -import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger } from '@/components/ui/dropdown-menu' type SortOrder = 'newest' | 'oldest' | 'alpha' | 'manual' @@ -850,7 +849,7 @@ export function HomeClient({
-
+
)}
- -
- {/* Layout mode */} +
- - - {notebookFilter && ( - <> - - + + {!notebookFilter && ( +