Skip to content

Right-click menus, and v0.41.0 - #59

Merged
nickcollinsdotco merged 1 commit into
mainfrom
context-menus
Oct 18, 2026
Merged

nickcollinsdotco merged 1 commit into
mainfrom
context-menus

Conversation

@nickcollinsdotco

Copy link
Copy Markdown
Owner

Third of three, stacked on #58.

A themed menu (ContextMenu.tsx, provider in Shell) rather than a native one, which could not wear a retro theme or show in the gallery.

  • Where: library meetings (Open, Rename F2, Show in File Explorer, Delete), search results (Open, Show in File Explorer), note tags (Find meetings tagged…, Remove), note sections (Copy section, Collapse/Expand), the sidebar's Mini window (Open, Bring back to its corner).
  • Placement: top layer (popover="manual"), so a transformed ancestor — a gallery preview — cannot misplace it, while it still inherits the shell's theme. Measured before paint; flips at edges; grows from the corner under the pointer (.trace-pop).
  • Keyboard: menu key / Shift+F10 open at the element; arrows skip disabled items; Home/End; Escape returns focus; Tab closes. Scroll, resize, blur close it.
  • WebView2's own menu (Back, Refresh, Print) is off everywhere except in fields and over selected text — including selected text inside a section, which keeps native Copy.
  • Tests: ContextMenu.test.tsx.

Checked in a real browser: opens in the top layer, themed, focus on the first item. Not checked: the menu key in the installed app.

/verify green.

🤖 Generated with Claude Code

A themed menu (ContextMenu.tsx) rather than a native one, which could
not wear a retro theme or show in the gallery. Shown in the top layer,
so a transformed ancestor cannot misplace it, while it still inherits the
shell's theme. Keyboard: menu key and Shift+F10, arrows, Home/End,
Escape back to where focus was. Flips at the window's edges.

On library meetings, search results, note tags, note sections and the
sidebar's Mini window. WebView2's own menu is off everywhere except in
fields and over selected text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Base automatically changed from press-feedback to main October 18, 2026 01:33
@nickcollinsdotco
nickcollinsdotco merged commit d89418b into main Oct 18, 2026
2 checks passed
@nickcollinsdotco
nickcollinsdotco deleted the context-menus branch October 18, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant