Repository navigation
Native menus driven by application commands - #64
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1bye
marked this pull request as ready for review
November 12, 2026 15:15
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #13
Menu bar, dock and context-menu items reference registered application commands by stable ID and submit through the same scheduler as
rake ctl commands run. Labels, availability, checks and keyboard shortcuts come from command presentation/state. Live updates rebuild menus and replace their bindings while preserving unrelated application bindings. Unknown IDs fail clearly before host startup or model replacement.Guarded Quit now uses the shared menu model. Standard Services, Hide and native editing roles follow the pinned backend; About remains an application-owned command. Windows/Linux use supported backend surfaces, and Web validates declarations without installing menus or overriding browser shortcuts. The example demonstrates the same CLI/menu handler, checked state and an action that becomes enabled or disabled. Public API docs and
docs/menus.mdexplain usage and platform limits.Validation:
cargo test -p rake-app --features view-test-support(unit, integration, compile tests and 83 doctests)cargo test -p rake-app --no-default-features --libcargo check -p rake-app --lib --target wasm32-unknown-unknownRUSTDOCFLAGS='-D warnings' cargo doc -p rake-app --no-depscargo clippy --workspace --all-targets -- -D warningscargo fmt --check,cargo run -p rake-app-cli -- format,cargo run -p rake-app-cli -- lint, andpython3 scripts/check-spacing.pyNative menu tests use the test platform; manual window-system menu checks were not run. Backend limits, including the absence of a portable arbitrary native context-menu presenter, are documented.
CI is green on
23eac48793bdc19b9006d768410d1c65395037c5. Local worktree, branch, build artifacts and logs have been removed. The PR remains draft.🤖 Generated with Claude Code