You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
M6f: stock menu widgets (dropdown/context menu, items, separators, submenus) #109
PR 6, part 2 (§5, §10, §13). In v0.1: menu items (shortcut, destructive, check/radio), separators, labels, submenus opening on click/Enter/Right. Stock menus own their open state and close on activation; no controlled mode in v0.1. Menus in chat_shell. Menu look shown to the user as renders before landing.
Design: docs/overlays.md (PR #101). Plan: #1.
Decided 2026-11-11: in v0.1, once a submenu is open, hovering a sibling item that owns a submenu switches to it (menu-bar behaviour); hovering a plain item closes the open submenu. Opening from closed stays click/Enter/Right. No hover-open from closed and no safe triangle in v0.1. Also from the port: menus at native density (~22 pt rows) — a look decision for the renders; and .command(id) binding (see the commands issue).
Looks decided (2026-11-12), from the renders: shadcn density (DropdownMenuItem py-1.5) in the preset, and apps wanting denser rows override MenuStyle. Group headings stay regular weight until medium faces land (#13). The submenu chevron uses the item's text colour, as in shadcn.
Decided (2026-11-12): apps use the primary-menu pattern for document commands. One dropdown (dropdown_menu, a ☰ or app-icon face) holds New, Open, Close, Save, Save As, Export and Quit. The flows are handled in the app's own UI until a native file dialog is needed (rfd, async). No in-window menubar primitive is planned. muda can't provide a native menu bar on Linux with eframe/winit, because it needs a GTK window. Chords will come from #125's command table.
Activity
samitbasu commentedon Nov 11, 2026
Decided 2026-11-11: in v0.1, once a submenu is open, hovering a sibling item that owns a submenu switches to it (menu-bar behaviour); hovering a plain item closes the open submenu. Opening from closed stays click/Enter/Right. No hover-open from closed and no safe triangle in v0.1. Also from the port: menus at native density (~22 pt rows) — a look decision for the renders; and
.command(id)binding (see the commands issue).samitbasu commentedon Nov 13, 2026
Looks decided (2026-11-12), from the renders: shadcn density (DropdownMenuItem
py-1.5) in the preset, and apps wanting denser rows overrideMenuStyle. Group headings stay regular weight until medium faces land (#13). The submenu chevron uses the item's text colour, as in shadcn.samitbasu commentedon Nov 13, 2026
Decided (2026-11-12): apps use the primary-menu pattern for document commands. One dropdown (
dropdown_menu, a ☰ or app-icon face) holds New, Open, Close, Save, Save As, Export and Quit. The flows are handled in the app's own UI until a native file dialog is needed (rfd, async). No in-window menubar primitive is planned. muda can't provide a native menu bar on Linux with eframe/winit, because it needs a GTK window. Chords will come from #125's command table.Merge pull request #162 from samitbasu/m6f-menus
samitbasu commentedon Nov 13, 2026
Done in PR #162 (stock menus) with the primary-menu decision recorded here.