Skip to content

Fix kanban column content to use full available height#82

Merged
bborn merged 1 commit intomainfrom
task/167-make-kanban-column-content-use-full-heig
Jan 10, 2026
Merged

Fix kanban column content to use full available height#82
bborn merged 1 commit intomainfrom
task/167-make-kanban-column-content-use-full-heig

Conversation

@bborn
Copy link
Copy Markdown
Owner

@bborn bborn commented Jan 10, 2026

Summary

  • Fixed height calculation in kanban columns that was over-subtracting available space
  • Columns now display more tasks by using the full available terminal height
  • Applied consistent height calculation across View(), ensureSelectedVisible(), and HandleClick() methods

Test plan

  • Run go test ./internal/ui/... - all tests pass
  • Run go build ./... - builds successfully
  • Manual testing: verify columns now use full height and display more tasks

🤖 Generated with Claude Code

The kanban columns had unused vertical space because the height
calculation was over-subtracting from the available space. The code
was subtracting for the header bar multiple times in different places.

Fixed the calculation by:
- Subtracting 1 for the header bar (rendered separately)
- Subtracting 2 for the column borders
- Applying this consistently in View(), ensureSelectedVisible(), and
  HandleClick() methods

This allows more tasks to be displayed in each column, making better
use of the available terminal height.

Co-Authored-By: Claude Opus 4.5 <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