feat(kanban): multiline textarea for inline-create title (salvage of #20970) - #21243
Merged
Conversation
- Changed Input component to native textarea for task creation - Removed Enter-to-submit behavior (use Create button instead) - Added proper styling: border, padding, rounded corners, focus ring - 2-row default height with vertical resize and max-height cap - Escape still cancels the form
…te textarea The textarea conversion in the previous commit dropped Enter-to-submit entirely, requiring a mouse click on Create for every single-line task. Restore the common-case shortcut while preserving multiline entry: - Enter (no modifier) submits the form - Shift+Enter inserts a newline - Escape still cancels Matches the convention used by Slack, Discord, GitHub PR comment boxes.
Contributor
🔎 Lint report:
|
1 task
7 tasks
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.
Salvages #20970 by @JezzaHehn and adds a follow-up fix for Enter handling.
What changed (contributor's commit)
Converts the kanban inline-create title field from a single-line
<Input>to a 2-row<textarea>with vertical resize and an 8rem max-height cap. Useful for triage "rough idea" entries and longer task descriptions.Follow-up fix (this PR)
The contributor's commit dropped Enter-to-submit entirely, requiring a mouse click on Create for every single-line task. Restored the common-case shortcut while preserving multiline entry:
Matches the convention used by Slack, Discord, and GitHub PR comment boxes.
Files
plugins/kanban/dashboard/dist/index.js— direct bundle edit (dashboard source is not in-repo; precedent: PRs #a49670c, #a01c1f7).Credit
Original work by @JezzaHehn in #20970 — commit preserved via rebase-merge.