Labels/tags not synced via caldav #1274

Closed
opened 2022-10-09 17:56:38 +00:00 by Yodbha · 2 comments

On android I use Tasks 12.7 and davx5 4.2.3.4 to sync tasks with vikunja via caldav.
Labels created in Tasks are not synced to vikunja and vice versa.
Same setup works flawlessly with caldav to nextcloud.
Tried on current demo instance.

On android I use Tasks 12.7 and davx5 4.2.3.4 to sync tasks with vikunja via caldav. Labels created in Tasks are not synced to vikunja and vice versa. Same setup works flawlessly with caldav to nextcloud. Tried on current demo instance.
konrad added the
kind/bug
label 2022-10-09 21:13:01 +00:00
Contributor

This is quite important for me, because I'm using the tasks.org app and want to be able to access my gtd @contexts underway, which are modelled as labels.
My idea would be to use the field CATEGORIES, which is what nextcloud does.
I will try to submit a PR for that, if you don't mind.

While the path Vikunja -> CALDAV seems to be straight forward, the other way around (importing Labels from CALDAV) is more delicate: Should new Categories automatically be created as Labels? And if so, how? (There seems to be an open point in the code about how to handle Labels in Tasks.) What should happen if Categories are missing or empty?
What do you think?

This is quite important for me, because I'm using the tasks.org app and want to be able to access my gtd @contexts underway, which are modelled as labels. My idea would be to use the field CATEGORIES, which is what nextcloud does. I will try to submit a PR for that, if you don't mind. While the path Vikunja -> CALDAV seems to be straight forward, the other way around (importing Labels from CALDAV) is more delicate: Should new Categories automatically be created as Labels? And if so, how? (There seems to be an open point in the code about how to handle Labels in Tasks.) What should happen if Categories are missing or empty? What do you think?
konrad reopened this issue 2023-02-27 11:22:48 +00:00
Owner

Thanks for the PR!

Should new Categories automatically be created as Labels? And if so, how? (There seems to be an open point in the code about how to handle Labels in Tasks.) What should happen if Categories are missing or empty?

I think Vikunja should create all categories which don't exist. This is similar to how the frontend handles it right now.

Thanks for the PR! > Should new Categories automatically be created as Labels? And if so, how? (There seems to be an open point in the code about how to handle Labels in Tasks.) What should happen if Categories are missing or empty? I think Vikunja should create all categories which don't exist. This is similar to how the frontend handles it right now.
Sign in to join this conversation.
No Milestone
No Assignees
3 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#1274
No description provided.