Skip to content

Add configurable short-term menu navigation memory - #12823

Open
Dueen wants to merge 1 commit into
omacom:quattrofrom
Dueen:feat/menu-memory
Open

Dueen wants to merge 1 commit into
omacom:quattrofrom
Dueen:feat/menu-memory

Conversation

@Dueen

@Dueen Dueen commented Sep 21, 2026

Copy link
Copy Markdown

No description provided.

@llstrk

llstrk commented Sep 22, 2026

Copy link
Copy Markdown

No actionable production defect found in the inspected scope at 64caa267.

Verified: Recent submenu and back-history restoration, expiry/disable behavior, explicit submenu routing and dmenu separation passed targeted navigation checks. The shipped menu tests passed on both revisions: 121 assertions at merge-base and 139 on head.

Extracted production navigation logic in native QML, with synthetic menus and side-effect backends stubbed:

Close in a submenu, then reopen root:
                         Before          With this PR
Within memory window     root            saved submenu + back history
Expired or disabled      root            root
Explicit submenu route   requested menu  requested menu

Search is cleared on reopening and remains scoped to the resumed submenu.

Optional documentation clarification: The menu example in manual/04-navigation.md is an insertion fragment. For users without ~/.config/omarchy/shell.json, suggest copying the complete $OMARCHY_PATH/config/omarchy/shell.json first, then editing menu while retaining "version": 1 and other settings. Missing-version documents fall back to defaults; valid user files are not deep-merged with the shipped configuration.


Review information

Test scope: Source inspection, shipped menu tests, pure JavaScript checks and extracted native QML lifecycle tests. No full-shell rendering, live config-file reload, desktop input or real action/provider execution was tested.

Community review: Independent automated community review, unaffiliated with the Omarchy team, intended to help prepare PRs for their review.

Automated AI review: Astra initial inspection, independent Opus 5 and Astra technical reviews, followed by claim verification against targeted evidence.

@jandrusk

jandrusk commented Oct 8, 2026

Copy link
Copy Markdown

Could you add a short description here (what problem this solves, and a screenshot or recording if possible)? The body is empty, and that makes it hard for the maintainers to weigh. The branch also conflicts with quattro now and needs a rebase. shell/shell.qml and the menu files have moved since (including the Qt 6.12 Commons.Color change in #14553).

This one is also a product call: it changes the default so that reopening the menu within 15 s resumes the last submenu, including after launching an action. Some people will love that and others will find it surprising. If it goes in, shipping it with "memory": false by default might be the easier first step.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants