feat: add magic note tags and a two-pane notes layout

Keep the notes list beside the open note, compact the detail view with a full-width sticky toolbar, and make Back to overview return to a full-width all-notes grid. Add manual note tags with AND filtering, a tag manager for rename, merge and delete, schema 51 tag tables, and tag support in the note Agent tools.
This commit is contained in:
mesalogo
2026-09-30 19:04:47 +08:00
parent ab85e72f01
commit 6edfc0046b
28 changed files with 2736 additions and 370 deletions
+9
View File
@@ -159,6 +159,7 @@ import type {
MagicNoteCreateResult,
MagicNoteSummary,
MagicNoteEntryCreateResult,
MagicNoteTagRenameResult,
MagicNotesSnapshot,
MagicTodoItem,
MagicTodoStatus,
@@ -1667,6 +1668,14 @@ const desktopApi: DesktopApi = {
remove: async (noteId: string) => {
await ipcRenderer.invoke(ipcChannels.magicNotesDelete, { noteId })
},
renameTag: (input) =>
ipcRenderer.invoke(
ipcChannels.magicNotesRenameTag,
input
) as Promise<MagicNoteTagRenameResult>,
removeTag: async (tagId: string) => {
await ipcRenderer.invoke(ipcChannels.magicNotesDeleteTag, { tagId })
},
createEntry: (input) =>
ipcRenderer.invoke(
ipcChannels.magicNotesCreateEntry,