mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
[PR #921] [MERGED] feat: Add multi-task creation with Ctrl+Enter in Add.jsx #1145
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:master📝 Commits (2)
2067a1afeat: Add multi-task creation with Ctrl+Enter in Add.jsx4749ea1ref: 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.