Skip to content

fix: honor no-wrap mode in kanban cards#238

Merged
oobagi merged 1 commit into
mainfrom
fix/kanban-nowrap
May 5, 2026
Merged

fix: honor no-wrap mode in kanban cards#238
oobagi merged 1 commit into
mainfrom
fix/kanban-nowrap

Conversation

@oobagi
Copy link
Copy Markdown
Owner

@oobagi oobagi commented May 5, 2026

Summary

  • thread word-wrap state through active, inactive, and view-mode kanban rendering
  • keep no-wrap cards to one visual line with horizontal truncation/scroll markers
  • size inline kanban card editing with the broad no-wrap textarea width

Test plan

  • go test ./internal/editor -run 'TestKanbanNoWrap|TestKanbanRenderDoesNotPanic|TestKanbanTallColumnCameraPadsSelectedCard' -count=1
  • env HOME=$(mktemp -d) go test ./...
  • go vet ./...

Thread the editor word-wrap setting through kanban card rendering and height calculations so long cards truncate instead of soft-wrapping when wrap is disabled.

Size the inline kanban card editor like other no-wrap textareas and keep it resized when the global wrap setting changes.

Tests: go test ./internal/editor -run 'TestKanbanNoWrap|TestKanbanRenderDoesNotPanic|TestKanbanTallColumnCameraPadsSelectedCard' -count=1

Tests: env HOME=$(mktemp -d) go test ./...

Tests: go vet ./...
@oobagi oobagi merged commit 690ae01 into main May 5, 2026
1 check passed
@oobagi oobagi deleted the fix/kanban-nowrap branch May 5, 2026 13:20
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