opentasks icon indicating copy to clipboard operation
opentasks copied to clipboard

Feature Request: Sync Categories

Open tensau opened this issue 12 years ago • 40 comments

tensau avatar Jul 29 '13 15:07 tensau

I wonder that there is not more interest in this feature. How are other people organize all different kind of tasks? E.g.: I don't want to see all tasks related to computer, if I'm on a train without my laptop.

owncloud will get support for categories soon: https://github.com/owncloud/tasks/pull/172 With categories support in this app, I can get rid of my current propietary todo list.

So, I strongly vote for this feature :+1:

avanc avatar Jun 11 '15 19:06 avanc

Our task back-end already supports categories. The sync part is almost done too. We just have to work on the UI.

dmfs avatar Jun 11 '15 19:06 dmfs

Is this feature still on the roadmap?

avanc avatar Oct 30 '15 14:10 avanc

Yes. We're working on it. We've been quite busy with paid projects, but I hope we'll have more time for this soon.

dmfs avatar Oct 31 '15 13:10 dmfs

Just a ping so this problem is not forgotten :-)

Currently, I share my calendar including the tasks with my girlfriend. We have one task as our shopping list and add the items into this task, as we don't want to have our task list cluttered with a lot of grocery items. However, this gives often problems on sync as we both added items to the shopping list. As conflicts within one task are not handled, some items are lost.

avanc avatar Aug 25 '16 10:08 avanc

Sorry, this is not forgotten, we just had to revisit priorities, for business reasons.

dmfs avatar Aug 26 '16 19:08 dmfs

Would it be possible to give the categories colours? E.g. letting the category change the background colour of a task in the widget. I would imagine that it won't be possible to sync the colours with a server, but I'm ok with manually setting the colours on each client.

I'm currently using this app a rudimentary scrum board. The only features I'm missing is coloured categories and a "validating" status.

Apologies for trying to make this task yet more complicated.

censlin avatar Aug 29 '16 14:08 censlin

@censlin Colors are typically used to represent calendar where the task/event belongs.

jkufner avatar Aug 29 '16 14:08 jkufner

Yeah, I figured that the calendar's colour would still be displayed in the box to the left of the task as it is now. The category colour would be displayed by a separate mechanism, like the background colour or a coloured border around the box.

censlin avatar Aug 29 '16 15:08 censlin

Currently I use separate calendars for each project, so definitely still want calendar colours

censlin avatar Aug 29 '16 15:08 censlin

Then it would make sense to display categories as 'tags'. Just like many other apps do, using colored label, like Gitlab and Github do in issue lists.

jkufner avatar Aug 29 '16 17:08 jkufner

Yeah, that would do the job for me.

censlin avatar Aug 30 '16 08:08 censlin

It might cause some space issues for some though, if the tags have text. In my case it just means stretching the widget from 3 columns to 4 columns. But I'm not sure if that can be done on smaller screens.

censlin avatar Aug 30 '16 08:08 censlin

@dmfs Where does this stand currently? I saw further up that the back end work was already partially done and partially in progress and that this item would really just be the required UI changes. Is that still the case? If so, are you open to pull requests? ;)

mcronce avatar Sep 27 '16 21:09 mcronce

+1 for categories!

macmeck avatar Dec 08 '16 08:12 macmeck

@dmfs you mentioned some work was already done, is that availabe on a branch somewhere? Perhaps I can join in.

I need some more organisation in my tasks, and categories seems my best solution, instead of separate tasklists for my projects, or switching to Taskdroid. Even just a comma separated read-only listing would be a worthwile improvement.

nicorikken avatar Jan 15 '17 13:01 nicorikken

@nicorikken Is Taskdroid capable to use the the tasks synced with caldav sync?

I'm still confused how Android handles tasks or events. Caldav syncs syncs events to the Android device. Thus, every calendar app can use this data. Is the same not valid for tasks? So I would expect a lot of task applications around. And even a native one similar to the native calendar app...

avanc avatar Jan 31 '17 10:01 avanc

@avanc Android provides an API (Content Provider) for calendars containing events. Hence, every calendar app can use this data. However, there is no official API for tasks. Therefore, opentasks (i.e. opentasks-provider) has introduced an own Content Provider (API) for this. Since it's open, every app can use the data, but the maintainer has to integrate it manually, since it's not part of the Android SDK. Therefore, most of the calendar apps don't support tasks and there is no native app for tasks. However, you can ask Google to directly integrate opentasks into Android :grin:

korelstar avatar Feb 04 '17 18:02 korelstar

+1

I'm using the categories field actively, caldav and syncing the tasks to my mobile.

Worst of all, when editing todo tasks from my mobile, the categories field in the VTODO is blanked out. (I suspect this is a general bug, that all fields that aren't supported gets blanked out, probably I should do some research on this and report it as a separate issue)

tobixen avatar Aug 29 '17 07:08 tobixen

We've been quite busy with paid projects

Eventually, how much would it cost to get this one prioritized? :-)

tobixen avatar Aug 29 '17 07:08 tobixen

+1 for categories here as well! I am open for a donation or might even help to code it.

Jan-Hammer avatar Dec 08 '17 00:12 Jan-Hammer

+1 Categories in OpenTasks and a view grouped by categories (or a filter as well) would help me much!

TimoD avatar Apr 14 '18 12:04 TimoD

+1. At least OpenTasks should not delete categories set by other clients, in case of a CalDAV share for example.

Noctiflore avatar Apr 23 '18 23:04 Noctiflore

Any news here?

vauvenal5 avatar Aug 06 '18 10:08 vauvenal5

I'd like to help with this.

  • Is there existing code for this / Is there a branch, where some work had been done already?
  • As I understand it, the back-end already works, and we "only" need to a support for the front-end. Is this correct?

bjuergens avatar Sep 11 '18 08:09 bjuergens

Yes, I believe the back-end should be ready to do. We certainly could use some integration tests to confirm this. This should be much easier now that we have the opentaskspal module.

We don't have anything for the UI yet. However, the subtask branch should get you going. Just like subtasks, categories should be implemented in the ViewFragment first and use RX for async operations.

dmfs avatar Sep 11 '18 21:09 dmfs

The most pressing problem seems to be that categories are currently destroyed when editing. Is there a workaround for that?

christf avatar Sep 21 '18 15:09 christf

+1 at least for not removing existing categories when editing a task

psxde avatar Apr 15 '19 12:04 psxde

Any news on this. If I got it right, it is just an HMI issue as the sync adapter already supports categories.

avanc avatar Oct 11 '19 09:10 avanc

The task provider has support for categories. However, as mentioned before the code is pretty much untested. Especially with the recurrence handling we have now, we should create tests to ensure categories are properly maintained when creating task overrides. Other than that, it's only the UI that's missing for categories support in this UI.

dmfs avatar Oct 11 '19 14:10 dmfs