Skip to content

[IMP] add keyboard navigation to menus#7780

Closed
hokolomopo wants to merge 1 commit intomasterfrom
master-menu-navigation-adrm
Closed

[IMP] add keyboard navigation to menus#7780
hokolomopo wants to merge 1 commit intomasterfrom
master-menu-navigation-adrm

Conversation

@hokolomopo
Copy link
Copy Markdown
Contributor

@hokolomopo hokolomopo commented Jan 14, 2026

Description:

description of this task, what is implemented and why it is implemented that way.

Task: 5783408

review checklist

  • feature is organized in plugin, or UI components
  • support of duplicate sheet (deep copy)
  • in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • in model/UI: ranges are strings (to show the user)
  • undo-able commands (uses this.history.update)
  • multiuser-able commands (has inverse commands and transformations where needed)
  • new/updated/removed commands are documented
  • exportable in excel
  • translations (_t("qmsdf %s", abc))
  • unit tested
  • clean commented code
  • track breaking changes
  • doc is rebuild (npm run doc)
  • status is correct in Odoo

@robodoo
Copy link
Copy Markdown
Collaborator

robodoo commented Jan 14, 2026

Pull request status dashboard

@hokolomopo hokolomopo changed the title missing tests [IMP] add keyboard navigation to menus Jan 14, 2026
@hokolomopo hokolomopo force-pushed the master-menu-navigation-adrm branch 5 times, most recently from c796ec1 to 09685e8 Compare January 20, 2026 08:34
@hokolomopo hokolomopo marked this pull request as ready for review January 20, 2026 08:34
@hokolomopo hokolomopo force-pushed the master-menu-navigation-adrm branch from 09685e8 to 005ad7e Compare February 17, 2026 07:36
Comment thread src/components/menu_popover/menu_popover.ts Outdated

get popoverProps(): PopoverProps {
const isRoot = this.props.depth === 1;
const isRoot = this.props.depth === 0;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change this number ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

who the hell starts its indexes with 1 ???? (don't get me started about Matlab)

@hokolomopo hokolomopo force-pushed the master-menu-navigation-adrm branch from 005ad7e to e199731 Compare February 17, 2026 14:17
@VincentSchippefilt
Copy link
Copy Markdown
Collaborator

robodoo delegate+

@hokolomopo hokolomopo force-pushed the master-menu-navigation-adrm branch from e199731 to 64c6342 Compare April 15, 2026 07:38
@hokolomopo
Copy link
Copy Markdown
Contributor Author

@robodoo r+

@robodoo
Copy link
Copy Markdown
Collaborator

robodoo commented Apr 15, 2026

@hokolomopo 'ci/runbot' failed on this reviewed PR.

This commit adds the possibility to navigate with arrow keys/Enter/Escape
in menus and topbar.

It also simplifies the `Menu` component a bit by moving most of the
logic in its parent component `MenuPopover`.

Task: 5783408
@hokolomopo hokolomopo force-pushed the master-menu-navigation-adrm branch from 64c6342 to ef13927 Compare April 15, 2026 07:52
@hokolomopo
Copy link
Copy Markdown
Contributor Author

@robodoo r+

New ESLint rules 😔

robodoo pushed a commit that referenced this pull request Apr 15, 2026
This commit adds the possibility to navigate with arrow keys/Enter/Escape
in menus and topbar.

It also simplifies the `Menu` component a bit by moving most of the
logic in its parent component `MenuPopover`.

closes #7780

Task: 5783408
Signed-off-by: Adrien Minne (adrm) <adrm@odoo.com>
@robodoo robodoo added the 19.3 label Apr 15, 2026
@robodoo robodoo closed this Apr 15, 2026
@fw-bot fw-bot deleted the master-menu-navigation-adrm branch April 22, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants