alainm23 / planify

Task manager with Todoist & Nextcloud support designed for GNU/Linux 🚀
GNU General Public License v3.0
3.58k stars 211 forks source link

Order with Nextcloud task lists out of sync #1457

Open janvlug opened 2 weeks ago

janvlug commented 2 weeks ago

Describe the bug I use Nextcloud as the backend for Planify. The order of the task lists (projects) in Planify and Nextcloud is not the same.

To Reproduce

  1. Change the order of task lists (projects) in Planify or Nextcloud

Expected behavior The order of the task lists (projects) is similar in Planify and Nextcloud

Desktop (please complete the following information):

Additional context Maybe this is related to the fact that Planify has support to move a task list into another task list (nesting). This is not possible in the Nextcloud Tasks webapp that I use (version 0.16.1).

My configuration is a Nextcloud server and two desktops (Fedora) that run Planify with the same Nextcloud as the backend.

janvlug commented 1 week ago

I looked a bit in more detail into this issue. I think the following is happening: In Planify, you can drop a top level task list (Project) on another top level task list (Project). This will result in nested task lists (Projects). Nextcloud however, seems not to support nesting a top level task list into another top level task list (see https://github.com/nextcloud/tasks/issues/2700).

So, in Planify you nested Task lists (Projects) and see this in the GUI, while this is not supported in Nextcloud. In Planify, they show nested. In Nextcloud not.

This confused me. What would be a good approach? Leave it as it currently is, or maybe prevent Planify to nest top level task lists (Projects) for Nextcloud backed tasks? In the latter case the task hierarchy will look more synchronized in Planify and Nextcloud.

janvlug commented 1 week ago

Also, if you reorder the task lists (Projects) in Planify, this will not be reflected in the Nextcloud Tasks web app.

As a test I deleted my Nextcloud account in Planify and added it again. After doing this, the order of the task lists (Projects) in Planify and Nextcloud is exactly the same at both sides.

janvlug commented 1 week ago

Also, if I reorder the task lists in Nextcloud, this will not be reflected in Planify, once the account has been added.