• 
      

    Add a menu component.

    Review Request #13641 — Created March 17, 2024 and submitted — Latest diff uploaded

    Information

    Ink
    master

    Reviewers

    The menu component provides a drop-down/pop-up or embedded menu,
    complete with standard menu items, checkbox menu items, radio menu
    items, and separators.

    Menu items may contain icons and keyboard shortcuts bound to those
    items.

    All parts of the menu are built with accessibility in mind, making it
    usable by people interacting with assistive technologies like screen
    readers.

    Much of the implementation was built based on the experiences building
    the original menu implementation in Review Board and in the
    reviewboard.org website, with enhancements to enable crafting, keyboard
    shortcuts, checkbox/radio items, embedded mode, and to fix interaction
    issues.

    Tested the menu in embedded and drop-down modes.

    Tested that keyboard shortcuts are registered and work.

    Tested light and dark modes.

    Unit tests pass.


    Commits

    Files