[PR #921] [MERGED] feat: Add multi-task creation with Ctrl+Enter in Add.jsx #1145

Closed
opened 2026-02-04 21:53:18 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/plankanban/planka/pull/921
Author: @Zananok
Created: 10/25/2024
Status: Merged
Merged: 10/27/2024
Merged by: @meltyshev

Base: masterHead: master


📝 Commits (2)

  • 2067a1a feat: Add multi-task creation with Ctrl+Enter in Add.jsx
  • 4749ea1 ref: Refactoring

📊 Changes

1 file changed (+28 additions, -15 deletions)

View changed files

📝 client/src/components/CardModal/Tasks/Add.jsx (+28 -15)

📄 Description

Modified the handleFieldKeyDown function in Add.jsx to handle Ctrl+Enter keypress events. This change allows creating multiple tasks from each non-empty line in the text field when Ctrl+Enter is pressed, while maintaining the existing functionality for creating a single task on Enter.

A similar feature is in Trello, which I find essential when copy-pasting a list of items and want them to be multiple tasks and not just a huge single task.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/plankanban/planka/pull/921 **Author:** [@Zananok](https://github.com/Zananok) **Created:** 10/25/2024 **Status:** ✅ Merged **Merged:** 10/27/2024 **Merged by:** [@meltyshev](https://github.com/meltyshev) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`2067a1a`](https://github.com/plankanban/planka/commit/2067a1ac58e385393dbe6b7e6fb39126e56ff98f) feat: Add multi-task creation with Ctrl+Enter in Add.jsx - [`4749ea1`](https://github.com/plankanban/planka/commit/4749ea1f34b6269fbadfafd50ae706aa654ae95b) ref: Refactoring ### 📊 Changes **1 file changed** (+28 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `client/src/components/CardModal/Tasks/Add.jsx` (+28 -15) </details> ### 📄 Description Modified the handleFieldKeyDown function in Add.jsx to handle Ctrl+Enter keypress events. This change allows creating multiple tasks from each non-empty line in the text field when Ctrl+Enter is pressed, while maintaining the existing functionality for creating a single task on Enter. A similar feature is in Trello, which I find essential when copy-pasting a list of items and want them to be multiple tasks and not just a huge single task. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 21:53:18 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#1145