Skip to content

feat: add panel zoom toggle (z key) in monitor mode#109

Open
shnayder wants to merge 2 commits intomarcus:mainfrom
shnayder:feature/panel-zoom
Open

feat: add panel zoom toggle (z key) in monitor mode#109
shnayder wants to merge 2 commits intomarcus:mainfrom
shnayder:feature/panel-zoom

Conversation

@shnayder
Copy link
Copy Markdown

@shnayder shnayder commented Apr 4, 2026

Summary

  • motivation: I'm finding it hard to manage a backlog while seeing only ~10 items at a time.

  • Adds a z keybinding that zooms 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 (so backlog view can be zoomed too).

  • Follows the existing fullscreen toggle pattern used by the kanban view.

Changes

  • model.go: Added ZoomedPanel and PanelZoomed state fields
  • keymap/: New CmdTogglePanelZoom command bound to z in ContextMain and ContextBoard
  • view.go: Zoomed panel gets 100% of available height; non-zoomed panels are skipped
  • input.go: Same zoom-aware height calculation for mouse hit-testing
  • keymap/help.go: Added z:zoom to footer help strings

Test 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 except TestUndoRestore_ReDeletePropagates in test/syncharness which is a pre-existing failure unrelated to this change
  • Manual testing: zoom/unzoom works on all three panels (Current Work, Task List/Backlog, Activity)
  • Verified backlog view in board mode zooms correctly (required ContextBoard binding)

🤖 Generated with Claude Code

shnayder and others added 2 commits April 4, 2026 14:58
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant