From fa582749e16523d46998043c1bfca9ed3d81a4f6 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Thu, 7 May 2026 05:51:49 -0700 Subject: [PATCH] fix(kanban): restore Enter=submit, Shift+Enter=newline in inline-create 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. --- plugins/kanban/dashboard/dist/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/kanban/dashboard/dist/index.js b/plugins/kanban/dashboard/dist/index.js index c65d390541..62a0a2e6f1 100644 --- a/plugins/kanban/dashboard/dist/index.js +++ b/plugins/kanban/dashboard/dist/index.js @@ -1760,6 +1760,7 @@ value: title, onChange: function (e) { setTitle(e.target.value); }, onKeyDown: function (e) { + if (e.key === "Enter" && !e.shiftKey) { e.preventDefault(); submit(); } if (e.key === "Escape") props.onCancel(); }, placeholder: props.columnName === "triage"