-
-
Notifications
You must be signed in to change notification settings - Fork 920
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
Drag Tasks Between Projects #810
Comments
Thank you very much for taking the time to open this up. Makes a lot of sense to add something like that. Personally I either use the short syntax (e.g. "task +projectName") or the shortcut for assign project, so personally I don't need the feature at all atm., but it would be nice to have anyway. If somebody wants to give it a shot, please let me know! |
This issue has not received any updates in 90 days. Please comment, if this still relevant! |
Upvote ! Drag and drop is the first thing I tried and I had to search for 10 min before finding other ways of doing it. |
Another Upvote. Like @sylock the first thing I did when I realized I wanted a task I created moved over to a particular project was click and drag. It actually dragged and the project lit up when I hovered over it with the task. So close... |
@clarkdowding if you want to promote this issue I suggest clicking the thumbs up emoji below the original post. :) |
Thanks @johannesjo, Just did that. Great app. Thanks for your hard work. |
How To Move Tasks To Another ProjectI found an existing feature that 95% resolves my need for an enhancement. I'm mentioning it here because I think it will help others. I was watching @johannesjo training video trying to learn how to do sub-tasks and discovered the following: Right-click on any task for a pop-up menu. One option there allows you to re-assign a task to a different project. As far as I'm concerned, the task pop-up menu makes this current drag-and-drop enhancement request a very nice feature but not nearly as high of a priority for me. Amazing what you can learn when you slow down and go through the developer's documentation (or training). Thanks @johannesjo |
This issue has not received any updates in 90 days. Please comment, if this still relevant! |
I looked into the code but didn't understand enough of the overall structure to get a feeling where to start. It seems that by adding an onDrop event this should not be too complicated if one knows the way around the code. |
Hey @rommeswi . It is not as easy unfortunately. SP is using dragula under the hood for the task list and the project and tag lists. A drop event is not fired. |
So it is using dragula separately for the different lists? Because according to https://github.com/bevacqua/dragula#drakeon-events there should be a drop event. But if that only works within a list, that of course does not help. If the projects, tags, and tasks are in different containers, then it seems that it should be possible to get those drop events working, or? |
Seems like like it. SP uses ng2-dragula under the hood to wrap dragula. |
Indeed, according to the ng2-dragula manual you linked: "You can group containers together by giving them the same group name. When you do, the children of each container can be dragged to any container in the same group." So if the containers have different group names then indeed there is not much one can do without some major changes. |
Might make sense to replace dragula at some point with a custom solution. Also for other stuff like converting parents to sub tasks and vice versa. Probably far from trivial though :) |
This issue has not received any updates in 90 days. Please comment, if this still relevant! |
I started replacing dragula with cdkDrop through the code. Unfortunately nested lists don't work well with cdkDrop yet, so I am putting this on hold till they fix this. If someone wants to have a look: |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@taophp I am hiding your comments since they're not really related to the original issue. |
Problem Statement
I am unable to drag tasks between projects. If I make a task in the wrong project, or change my mind about where a task should be, it would be cool to be able to drag it onto a new project.
❔ Possible Solution
Dragging a task onto a new project should remove the task from the current project and create the task with the same information in the new project.
Possibly at least a "delete task" button so that the mistakenly added task doesn't show up as "completed".
➕ Additional context
This isn't super urgent, but it would be quite useful!
The text was updated successfully, but these errors were encountered: