diff --git a/src/components/NotesSidebar.tsx b/src/components/NotesSidebar.tsx index 8f8bdef..2ae8046 100644 --- a/src/components/NotesSidebar.tsx +++ b/src/components/NotesSidebar.tsx @@ -64,7 +64,11 @@ export const NotesSidebar: Component<{ n = n.filter(note => note.tags?.includes(getFavoriteTag())); } - return n; + return n.sort((a, b) => { + const titleA = a.title || "Untitled"; + const titleB = b.title || "Untitled"; + return titleB.localeCompare(titleA); + }); }); const handleCreateNote = async () => { diff --git a/src/components/TaskDetail.tsx b/src/components/TaskDetail.tsx index 1b0347a..6988c09 100644 --- a/src/components/TaskDetail.tsx +++ b/src/components/TaskDetail.tsx @@ -434,6 +434,24 @@ export const TaskDetail: Component = (props) => { + + {/* File Upload Shortcut */} +
+ +
{/* Metadata Row (Dates/Timestamps) */} @@ -694,35 +712,7 @@ export const TaskDetail: Component = (props) => { - {/* Close button (Mobile only) */} - - + - - + + + +
+ + +
+
+