Remove numeric task shortcuts from kanban cards#625
Merged
Conversation
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>
Owner
Author
QA — verified on isolated TUI instanceSeeded 12 backlog tasks and rendered the board (VHS, correctly-sized headless terminal) on Before (
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


What
Removes the little numbers (
1–9,11–99) 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 theshortcutHintparam and its right-aligned indicatorshortcutNumtracking /TaskShortcutHintcallsKanbanBoard.SelectByShortcutTaskShortcutHint/TaskIndexFromShortcuthelpers (styles.go)app.go: removed the1–9(and double-digit11/22/…) keypress handler,pendingShortcutDigit/shortcutTimeoutstate, and theshortcutTimeoutMsgtick/typeThe
#<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