Repository navigation
feat: context-sensitive action bar - #117
Merged
Merged
Conversation
BuildHints now labels each button with what it will do in the current context and hides actions that would do nothing: Explore/Mark/Extract on archives (the actions menu opens on "Extract to"), Operations (N) and Cancel selection with marked items, Select/Delete/Done/Cancel on the on-screen keyboard (Select only for controllers), the focused option in dialogs, no Confirm on disabled menu items, and only Menu/Cancel while loading. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Summary
AppController.BuildHintsstays the single source; each context now shows only what works, labeled with what it does:Extract decision (documented in docs/input-and-focus.md): West stays Mark on archives so they can still join batch copy/move/delete/compress. The only free buttons are reserved (Select for search #46, LB/RB for regions/two panes). So the direct extract is North → South: North reads "Extract…" on archives and the menu opens on "Extract to "name"". The label uses the file extension (fast, synchronous); the action still detects the format from content.
Keyboard context was implemented against the current keyboard modal, as agreed while #41 evolves.
Tests
HintJourneyTests): archive file prompts + menu focus + inside-archive prompts; multi-selection labels and menu; keyboard context with controller vs physical keyboard (Enter as Done); disabled menu item hides Confirm; dialog Confirm follows the focused option.JourneyTestslabel updated ("Cancelar seleção").Closes #35
🤖 Generated with Claude Code