feat: add panel zoom toggle (z key) in monitor mode#109
Open
shnayder wants to merge 2 commits intomarcus:mainfrom
Open
feat: add panel zoom toggle (z key) in monitor mode#109shnayder wants to merge 2 commits intomarcus:mainfrom
shnayder wants to merge 2 commits intomarcus:mainfrom
Conversation
Press z to zoom the active panel to full screen height, hiding the other two panels. Press z again to restore the original layout. Works in both main and board contexts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <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.
Summary
motivation: I'm finding it hard to manage a backlog while seeing only ~10 items at a time.
Adds a
zkeybinding that zooms the active panel to full screen height, hiding the other two panels. Presszagain to restore the original layout.Works in both main and board contexts (so backlog view can be zoomed too).
Follows the existing fullscreen toggle pattern used by the kanban view.
Changes
model.go: AddedZoomedPanelandPanelZoomedstate fieldskeymap/: NewCmdTogglePanelZoomcommand bound tozinContextMainandContextBoardview.go: Zoomed panel gets 100% of available height; non-zoomed panels are skippedinput.go: Same zoom-aware height calculation for mouse hit-testingkeymap/help.go: Addedz:zoomto footer help stringsTest plan
make fmt— clean (note: found pre-existing gofmt issues in several files across the repo; the second commit includes only the fmt fixes for our changed files)make test— all tests pass exceptTestUndoRestore_ReDeletePropagatesintest/syncharnesswhich is a pre-existing failure unrelated to this changeContextBoardbinding)🤖 Generated with Claude Code