Skip to content

Remove numeric task shortcuts from kanban cards#625

Merged
bborn merged 1 commit into
mainfrom
task/4541-remove-the-task-numbers-on-kanban-items
Jun 26, 2026
Merged

Remove numeric task shortcuts from kanban cards#625
bborn merged 1 commit into
mainfrom
task/4541-remove-the-task-numbers-on-kanban-items

Conversation

@bborn

@bborn bborn commented Jun 26, 2026

Copy link
Copy Markdown
Owner

What

Removes the little numbers (19, 1199) shown on the right side of each kanban card, and the matching numeric keypress that jumped to a task in the selected column. Per the task: never used them, never pressed them to jump.

Changes

  • renderTaskCard: dropped the shortcutHint param and its right-aligned indicator
  • Desktop + mobile board views: removed shortcutNum tracking / TaskShortcutHint calls
  • Removed KanbanBoard.SelectByShortcut
  • Removed TaskShortcutHint / TaskIndexFromShortcut helpers (styles.go)
  • app.go: removed the 19 (and double-digit 11/22/…) keypress handler, pendingShortcutDigit/shortcutTimeout state, and the shortcutTimeoutMsg tick/type
  • Removed the associated tests

The #<id> task ID on the left of each card is untouched — only the right-side jump shortcuts are gone.

Verification

  • go build ./...
  • go test ./internal/ui/
  • golangci-lint run ./internal/ui/ → 0 issues ✅

🤖 Generated with Claude Code

Drop the per-card "little numbers" (1-9, 11-99) shown on the right of each
kanban item and the numeric keypress that jumped to a task. Bruno doesn't
use either.

Removes:
- shortcutHint param + indicator rendering in renderTaskCard
- shortcutNum tracking in desktop and mobile board views
- KanbanBoard.SelectByShortcut
- TaskShortcutHint / TaskIndexFromShortcut helpers
- numeric-shortcut keypress handling, pendingShortcutDigit/shortcutTimeout
  state, and shortcutTimeoutMsg in app.go
- associated tests

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bborn

bborn commented Jun 26, 2026

Copy link
Copy Markdown
Owner Author

QA — verified on isolated TUI instance

Seeded 12 backlog tasks and rendered the board (VHS, correctly-sized headless terminal) on main vs this branch, plus a functional check of the removed keypress.

Before (main) — numbers 17 on the right of each card

before-with-numbers

After (this branch) — no numbers

after-no-numbers

Functional checks (driven via --debug-state-file)

  • Number key no longer jumps. Top card #12 selected → pressed 3 → state unchanged (view: dashboard, selected: 12). On main this jumped to the 3rd card and opened its detail view.
  • Normal nav intact. Down moved selection #12 → #11; Enter opened the detail view (view: detail).
  • go build ./..., go test ./internal/ui/, and golangci-lint run ./internal/ui/ all pass.

The #<id> on the left of each card is unchanged — only the right-side jump shortcuts (display + keypress) were removed.

@bborn bborn merged commit 99b058a into main Jun 26, 2026
4 checks passed
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