Skip to content

M6f: stock menu widgets (dropdown/context menu, items, separators, submenus) #109

Closed

Description

@samitbasu

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.

Activity

  1. samitbasu commented on Nov 11, 2026

    @samitbasu
    OwnerAuthor

    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).

  2. samitbasu commented on Nov 13, 2026

    @samitbasu
    OwnerAuthor

    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.

  3. samitbasu commented on Nov 13, 2026

    @samitbasu
    OwnerAuthor

    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.

  4. added a commit that references this issue on Nov 13, 2026
  5. samitbasu commented on Nov 13, 2026

    @samitbasu
    OwnerAuthor

    Done in PR #162 (stock menus) with the primary-menu decision recorded here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions