feature: move existing task to different list #379

Closed
opened 2020-04-17 08:50:34 +00:00 by jonastheis · 4 comments

It would be nice to enable the functionality to update the list_id of a task. This effectively enables moving a task to other lists once it is created.

I checked in the code and it seems to be an easy fix if I'm not mistaken. I didn't really dive into it and don't exactly know how this specific ORM works. Though it seems to be only a matter of adding the list_id in the database update.

It would be nice to enable the functionality to update the `list_id` of a task. This effectively enables moving a task to other lists once it is created. I checked in the code and it seems to be an easy fix if I'm not mistaken. I didn't really dive into it and don't exactly know how this specific ORM works. Though it seems to be only a matter of [adding the `list_id` in the database update](https://kolaente.dev/vikunja/api/src/branch/master/pkg/models/tasks.go#L642).
Owner

We actually have this on the roadmap for Vikunja.

You're right, the feature in itself is not that complicated but a right check for it would be needed - the user would need to have write access to the new list.

We actually have this [on the roadmap](https://my.vikunja.cloud/share/QFyzYEmEYfSyQfTOmIRSwLUpkFjboaBqQCnaPmWd/auth) for Vikunja. You're right, the feature in itself is not that complicated but a right check for it would be needed - the user would need to have write access to the new list.
Owner

I've put up a pr to implement that into the api: #389

I've put up a pr to implement that into the api: #389
Owner

The pr is merged and currently in the process of being released.

I've added a frontend implementation in d4b82a4cc9.

The pr is merged and currently in the process of being released. I've added a frontend implementation in https://kolaente.dev/vikunja/frontend/commit/d4b82a4cc9f314781928b8d8e04f9dde36bc34ad.
Author

Great! Works perfectly, thanks a lot for the quick reaction :)

Great! Works perfectly, thanks a lot for the quick reaction :)
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#379
No description provided.