From b93c9f6393810657fbc12847cc98c99c938ad99e Mon Sep 17 00:00:00 2001 From: BarnacleBoy Date: Thu, 7 May 2026 01:36:42 +0000 Subject: [PATCH] feat(kanban): convert inline-create title input to multiline textarea - 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 --- plugins/kanban/dashboard/dist/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/kanban/dashboard/dist/index.js b/plugins/kanban/dashboard/dist/index.js index cc8e3a2225..c65d390541 100644 --- a/plugins/kanban/dashboard/dist/index.js +++ b/plugins/kanban/dashboard/dist/index.js @@ -1756,18 +1756,18 @@ : "workspace path (optional, derived from assignee if blank)"; return h("div", { className: "hermes-kanban-inline-create" }, - h(Input, { + h("textarea", { value: title, onChange: function (e) { setTitle(e.target.value); }, onKeyDown: function (e) { - if (e.key === "Enter") { e.preventDefault(); submit(); } if (e.key === "Escape") props.onCancel(); }, placeholder: props.columnName === "triage" ? "Rough idea — AI will spec it…" : "New task title…", autoFocus: true, - className: "h-8 text-sm", + className: "text-sm min-h-[2rem] max-h-32 resize-y w-full border border-input bg-transparent px-2 py-1 rounded-md focus:outline-none focus:ring-2 focus:ring-ring", + rows: 2, }), h("div", { className: "flex gap-2" }, h(Input, {