Repository navigation
Make the key hints along the bottom buttons - #93
Open
armada45-pixel wants to merge 1 commit into
Open
armada45-pixel wants to merge 1 commit into
armada45-pixel wants to merge 1 commit into
Conversation
The bar already names the key for everything worth doing, and a hand on the mouse had to leave it to use any of them. Each hint is now a framed button for its key, on the review screen's footer too, and a click runs the same dispatch the keyboard does, so the two cannot drift apart. The depth hint names two keys and a click can only be one: it draws one level more and starts over past the deepest. `hjkl` is four keys with no single action, so it stays a label. A click takes the keyboard from the treemap, so the hint hands it back unless the key opened a dialog that wants it. 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.
One of a set of small PRs that replace #87 and #88, one feature each. They touch neighbouring lines in
state.rs,views.rsandtests.rs, so whichever merges later will need a rebase; I'll do those as they come up.The bar along the bottom already names the key for everything worth doing, but a hand on the mouse had to leave it to use any of them. Each hint is now a framed, evenly padded button for its key, on the review screen's footer as well.
Disktree::press, which runs the key by name through the same dispatch the keyboard uses, so the two cannot drift apart.[ ] depthnames two keys and a click can only be one: it draws one level more and starts over past the deepest.hjkl moveis four keys with no single action, so it stays a label.Verified.
cargo xtask lintandcargo xtask testare green on Windows (69 app tests, 157 core). A new window-harness test clicks the depth, all-keys, volumes, mark, review and back hints and checks the state each key would produce, and thathjklis not a button. On the combined branch (#88) the framed hints were looked at in the running app.Not verified. Nothing was run on Linux or macOS. On this branch the feature was exercised through the window-harness tests only; the app was not launched from it.
🤖 Generated with Claude Code