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 ability to duplicate a card #668

Merged
merged 2 commits into from
Apr 5, 2024

Conversation

mattboll
Copy link
Contributor

@mattboll mattboll commented Apr 3, 2024

Hi,
I really needed to duplicate some cards so I made this, I would love to see it upstream.
It's related to #48 #149 #317
It adds a button to duplicate the card, from the cardModal or the ActionsPopup

It's far from perfect but it's acceptable for my use case. I can work a little bit more on the pull request if needed.

I was not sure what could be the best way to duplicate tasks with cards, if the code is good enough I can do the same thing to duplicate labels, I'm not sure what other data would be relevant, right now it copies the card (name, description…) and tasks.

Also, the new card name is "old name (copy)"

Regards,

@CLAassistant
Copy link

CLAassistant commented Apr 3, 2024

CLA assistant check
All committers have signed the CLA.

@meltyshev
Copy link
Member

Hi and thanks for your work! I'll check everything over the weekend and maybe add a duplication of the other related data.

@meltyshev meltyshev merged commit 6cd9da8 into plankanban:master Apr 5, 2024
1 check passed
@mattboll mattboll deleted the feature/duplicate branch April 5, 2024 21:20
meltyshev pushed a commit that referenced this pull request Apr 7, 2024
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