planka icon indicating copy to clipboard operation
planka copied to clipboard

[Feature Request] Copy card

Open zahidhanif opened this issue 4 years ago • 28 comments

Thanks for this brilliant app. I am currently self-hosting in docker.

Please allow users to copy a card, including tasks. I use templates so this would be very helpful.

Thanks again.

zahidhanif avatar Oct 28 '20 15:10 zahidhanif

It's a good feature. I will add it soon.

meltyshev avatar Nov 04 '20 21:11 meltyshev

I don't think a simple "copy card" feature would be too useful. At some point we'll rather need a proper template management: For boards and for cards. That way you would be able to "create card/board from

nickbe avatar Nov 08 '20 02:11 nickbe

My suggestion was not for a template management workflow as I understand that will take longer to implement. I was suggesting a simply copy card like in Trello where you can copy a card plus the sub-tasks. This is available on similar card/board systems such as kanboard (I tried this as well as Planka). I was hoping this would be simple to implement.

zahidhanif avatar Nov 09 '20 09:11 zahidhanif

Hey, Can I work on this. I have an idea for this

fanofnarendra avatar Apr 02 '21 15:04 fanofnarendra

Sure, pull requests are always welcome!

meltyshev avatar Apr 02 '21 16:04 meltyshev

Hey I have 2 options in mind:

1: The pencil icon in every card there I can give an option for copy and then in the modal give options on which list we can copy 2: To have a copy icon near pencil and then once the user clicks it the copy happens and enable paste option near pencil icon of each list title 3: To have a copy icon near pencil and then once the user clicks it the copy happens and they can even drag it to corresponding list. If the copy is enables its copy otherwise its a move. Which one is a good idea??

fanofnarendra avatar Apr 14 '21 09:04 fanofnarendra

I like option 1 as it similar to how Trello works

zahidhanif avatar Apr 14 '21 10:04 zahidhanif

Although we want a copy option too it should definetely NOT be like Trello, but differently - better.

nickbe avatar Apr 18 '21 00:04 nickbe

I understand you want it to be better than Trello @nickbe but to help @fanofnarendra include this feature, how do you think he should implement it?

zahidhanif avatar Apr 18 '21 03:04 zahidhanif

I was thinking about this yesterday and the best idea so far seems one that was discussed some time ago:

  1. First mark the card and show it in some sort of thumbnail list (maybe at the botton or right side of the view) This could be done either for copying, moving or just remembering (starring) cards and quickjumping

  2. Then when creating a new card have an option to pastemove OR copy from a jumplist card (small menue on thumbnail)

This way we would have a practical multi purpose control.

nickbe avatar Apr 18 '21 11:04 nickbe

That's an interesting idea but from a UX point of view, it's very different to the current interface. Currently, all card actions are driven by clicking the pencil in the top right of the card (such as Move and Delete). A logical place for a Copy function would be to add to this menu rather trying to create a new UI element such jump list or thumbnail list. Just my opinion as that makes sense to me but as @fanofnarendra is coding this, I am sure he has his own ideas too.

zahidhanif avatar Apr 18 '21 11:04 zahidhanif

Thank you for the feedback guys. Will keep all these points in mind. Sorry for the delay in response. I was not well.

fanofnarendra avatar May 10 '21 03:05 fanofnarendra

@nickbe will try to implement close to that. Even I had that thought process. Let me see how far I can succeed. In case I find any problem will get back

fanofnarendra avatar May 10 '21 03:05 fanofnarendra

Cool.

nickbe avatar May 11 '21 00:05 nickbe

Can i work on this enhancement?

Riya123-code avatar Sep 06 '22 07:09 Riya123-code

Yes, sure! I planned to do this as my next task, but then I'll just skip it. If you need help, you can ask me.

meltyshev avatar Sep 06 '22 07:09 meltyshev

Will it be fine if i give copy and paste option to every card ? like clicking the pencil on the top right of the card and providing option of copy and paste .

Riya123-code avatar Oct 12 '22 12:10 Riya123-code

Yep, it will be fine

meltyshev avatar Oct 12 '22 17:10 meltyshev

Can i get an approval on whether i am assigned this task so that i can start working on it.

Riya123-code avatar Oct 13 '22 06:10 Riya123-code

Sure, you are assigned this task 🙂

meltyshev avatar Oct 14 '22 12:10 meltyshev

first of all thanks for assigning me this task. Is there any project related specific group to discuss errors or doubts ?

Riya123-code avatar Oct 17 '22 11:10 Riya123-code

Unfortunately no, you can text me on Telegram (username: gh0st1y) and I'll try to help. I'll be sure to add a place for discussions soon.

meltyshev avatar Oct 17 '22 18:10 meltyshev

Hello how to copy cards ?

@jensfrost @meltyshev @nickbe @Riya123-code @fanofnarendra @zahidhanif

leguennecj avatar Jun 21 '23 10:06 leguennecj

@jensfrost my two cents is if you have an implementation that works then go ahead and do a pull request. This allows the maintainers who actually know the ins and outs to weigh in on what you have done and for you to address any issues they notice while bringing an important feature to planka. Currently it might not be great, when it's approved you will at least know it's passable, and if you abandon it then someone else can build from where you are.

Food for thought, you currently have a working solution for the issue with the most comments. Also I went through your implementation and nothing leapt out as an issue.

gorrilla10101 avatar Sep 10 '23 20:09 gorrilla10101

The function "Copy card" would be really a nice feature for this great app.

Bonnix82 avatar Oct 25 '23 13:10 Bonnix82

Hi all,

Any updates on the "copy/duplicate card" feature?

I was thinking it could be an exact copy of the "move" functionality. Except that it would not delete the card in the old location.

Istria1704 avatar Mar 11 '24 21:03 Istria1704

Hi!

Any updates on the "copy/duplicate card" feature?

Adding this is certainly in our plans, but right now we're trying to rework more basic things like proper data deletion. Since I'm the only developer in the team, adding new features takes a looot of time, but we're in the active phase of solving this problem and things will probably be much faster in the near future.

I was thinking it could be an exact copy of the "move" functionality. Except that it would not delete the card in the old location.

Copying is a little more complicated than moving, because when you move a card you just need to change boardId and listId, but when you copy it you need to duplicate the data and also create a copy of the attachments.

meltyshev avatar Mar 12 '24 14:03 meltyshev

Thanks for the update! No rush. I understand it takes time with a small (one man) dev team.

I thought "moving" was basically copying, with the addition of deleting the original. But I understand now it works differently. So I guess it's not an easy copy/paste implementation.

I'll just patiently wait for it to be added. =) Thanks again for all the work. Planka is awesome. =)

Istria1704 avatar Mar 12 '24 20:03 Istria1704