feat(kanban): add per-column add button with inline input#504
Merged
fccview merged 3 commits intoMay 12, 2026
Conversation
Adds an optional `status` argument to `handleAddItem` in `useKanban.ts` so callers can create items pre-assigned to a specific column status. The value is forwarded via FormData; the server action already handles it.
- Adds a small "+" button in each KanbanColumn header (hidden for autoComplete columns and when the user lacks canEdit permission) - Clicking the button reveals an inline text input inside the column; Enter saves, Esc or blur-without-text cancels - New item is created with the column status pre-set via the extended handleAddItem hook - Adds i18n keys `kanban.addItemToColumn` and `kanban.addItemPlaceholder` to all 13 locale files (en, de, fr, es, it, nl, pl, ru, ko, tr, zh, pirate, klingon)
Owner
|
Changed your input to use the global |
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.
Summary
Adds a small "+" button to each Kanban column header that creates a new item
directly in that column's status, removing the need for manual drag-and-drop
The button is hidden for
autoCompletecolumns (semantically no new itemsbelong there) and when the user lacks edit permission
Clicking "+" reveals a minimal inline text input at the top of the column;
Enter saves, Esc or blur-without-text cancels
Extends
handleAddIteminuseKanban.tswith an optionalstatusparameterforwarded to the server action (which already supported it)
Adds i18n keys
kanban.addItemToColumnandkanban.addItemPlaceholdertoall 13 locale files (only en and de verified, rest claude genereated translations)
Executed tests
Open a Kanban board, verify "+" appears in every non-autoComplete column header
Click "+", type a name, press Enter — item appears in the correct column
Click "+", press Esc — input disappears without creating an item
Click "+", leave input blank, click away — input closes, nothing created
Verify "+" does NOT appear on the autoComplete (Completed) column
Test in multiple locales (de, en) that tooltip text is translated
Open tests
🤖 Generated with Claude Code