fix: keep New note in the magic notes page header

This commit is contained in:
mesalogo
2026-10-01 01:31:43 +08:00
parent d2ceff8db5
commit 0a02a17cb6
6 changed files with 44 additions and 30 deletions
+3 -2
View File
@@ -22,8 +22,9 @@ comments. The divider can be dragged and remembers its width; each note group
can independently collapse its tasks while retaining its title and count.
Narrow containers use on-demand detail with an explicit return to the
mounted list. One content-sized button switches to the other view in the page
header when note detail is closed; New note lives in the notes list heading or the
To-dos page header. Status filters sit beside search and wrap
header when note detail is closed; New note is always the primary page-header
action to the right of the view switch or Back to overview. The notes list
heading keeps only Manage tags. Status filters sit beside search and wrap
when needed. Note detail removes the surrounding frame and stream padding while
keeping editor borders and the AI divider. Returning from a source note restores the task
context and protects unsaved editor changes. A successful save followed by no
+10
View File
@@ -1,5 +1,15 @@
# Magic Notes Progress
## 2026-10-01: Header New Note Action
New note is now one primary page-header button that always follows the view
switch (overview, to-dos) or Back to overview (note detail). The `+` icon in the
notes list heading was removed; the heading keeps only Manage tags. From note
detail the button opens the list's title form (desktop reopens a collapsed list;
narrow returns to the list first). Workspace tests (133) and the Electron layout
test pass, with overview and detail screenshots checked at 1280px; the App note
subset (11), typecheck, and lint on changed files pass.
## 2026-09-30: Navigate After Record Mount
Quick Notes navigation now scrolls after React commits the target record, rather