Skip to content

feat(kanban): multiline textarea for inline-create title (salvage of #20970) - #21243

Merged
teknium1 merged 2 commits into
mainfrom
hermes/hermes-e56f331d
May 7, 2026
Merged

feat(kanban): multiline textarea for inline-create title (salvage of #20970)#21243
teknium1 merged 2 commits into
mainfrom
hermes/hermes-e56f331d

Conversation

@teknium1

@teknium1 teknium1 commented May 7, 2026

Copy link
Copy Markdown
Contributor

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:

  • Enter (no modifier) submits
  • Shift+Enter inserts a newline
  • Escape still cancels

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.

JezzaHehn and others added 2 commits May 7, 2026 05:51
- 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.
@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

🔎 Lint report: hermes/hermes-e56f331d vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 7520 on HEAD, 7520 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 3949 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/plugins Plugin system and bundled plugins labels May 7, 2026
@teknium1
teknium1 merged commit fa58274 into main May 7, 2026
8 of 10 checks passed
@teknium1
teknium1 deleted the hermes/hermes-e56f331d branch May 7, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants