Skip to content

Fix kanban board to use all available vertical space#73

Merged
bborn merged 1 commit intomainfrom
task/145-kanban-content-should-all-available-vert
Jan 9, 2026
Merged

Fix kanban board to use all available vertical space#73
bborn merged 1 commit intomainfrom
task/145-kanban-content-should-all-available-vert

Conversation

@bborn
Copy link
Copy Markdown
Owner

@bborn bborn commented Jan 9, 2026

Summary

Fixes the kanban board to utilize all available vertical space in the terminal. Previously, the board was subtracting excessive padding from the available height, leaving unused space at the bottom of columns and limiting the number of visible tasks.

Changes:

  • Removed unnecessary -2 subtraction from colHeight calculations
  • Reduced header/padding overhead from -5 to -3 lines in max visible task calculations
  • Removed -1 adjustment from column style height
  • Applied consistent calculations across View(), ensureSelectedVisible(), and HandleClick() functions

Impact:

  • Columns now display more tasks per screen
  • Better utilization of terminal space
  • Consistent behavior across all kanban functions

Test plan

  • All existing UI tests pass (16 tests)
  • Application builds successfully
  • Manual testing: kanban board displays more tasks and uses full vertical space
  • Navigation and scrolling still work correctly
  • Mouse click handling remains accurate

🤖 Generated with Claude Code

Previously, the kanban board was subtracting excessive padding from
the available height, leaving unused space at the bottom of columns.

Changes:
- Removed unnecessary -2 subtraction from colHeight calculations
- Reduced header/padding overhead from -5 to -3 lines
- Removed -1 adjustment from column style height
- Applied consistent calculations across View, ensureSelectedVisible,
  and HandleClick functions

This allows the kanban board to display more tasks and better utilize
the available terminal space.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@bborn bborn merged commit a943802 into main Jan 9, 2026
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