Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add multi-task creation with Ctrl+Enter in Add.jsx #921

Merged
merged 2 commits into from
Oct 27, 2024

Conversation

Zananok
Copy link
Contributor

@Zananok Zananok commented Oct 25, 2024

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.

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.
@CLAassistant
Copy link

CLAassistant commented Oct 25, 2024

CLA assistant check
All committers have signed the CLA.

@meltyshev meltyshev merged commit f372113 into plankanban:master Oct 27, 2024
3 checks passed
@meltyshev
Copy link
Member

Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants