tasks icon indicating copy to clipboard operation
tasks copied to clipboard

Feature request: Order task tags alphabetically

Open TristanCottam opened this issue 2 years ago • 7 comments

Adding tags to a task appends them to said task's existing tag list, which can make their order inconsistent across tasks. Instead, a task's tags should always be ordered alphabetically, and the order in which tags are added to a task should be ignored.

TristanCottam avatar Nov 06 '23 01:11 TristanCottam

a task's tags should always be ordered alphabetically

@tristan-cottam, the user should be able to choose how to order them.

RokeJulianLockhart avatar Nov 13 '23 20:11 RokeJulianLockhart

@tristan-cottam, the user should be able to choose how to order them.

But this order should be consistent across tasks, unlike the "custom" (chronological) sorting we have now. It should be a global setting.

TristanCottam avatar Nov 14 '23 10:11 TristanCottam

https://github.com/nextcloud/tasks/issues/2382#issuecomment-1809902752

@tristan-cottam, I agree, but a bit like in any templating system, it would be nice to have a global default, but be able to temporarily override that.

RokeJulianLockhart avatar Nov 14 '23 12:11 RokeJulianLockhart

@RokeJulianLockhart The original reason for me to make this feature request is that the task manager I use (Tasks.org) sorts tasks alphabetically, and doesn't record anything about their order. I was interested in enhancing both the UI and compatibility with external client[s].

Because of the latter, I would rather focus this feature request on not recording the order of a task's tags, and possibly adding a setting to set their global order, at least for now.

TristanCottam avatar Nov 17 '23 16:11 TristanCottam

https://github.com/nextcloud/tasks/issues/2382#issuecomment-1816723893

@tristan-cottam, I use the same client. Thank you for this.

RokeJulianLockhart avatar Nov 17 '23 16:11 RokeJulianLockhart

I have to admit, I am a bit undecided here.

I think it would make sense to have the tags sorted alphabetically. Especially since we do not have a proper way to sort them manually and having the same set of tags on different tasks sorted differently seems weird to me. Also, e.g. the Files app shows tags simply sorted alphabetically, no matter the order in which they were added.

On the other hand, I don't want to interfere with the tags order some users might have adjusted deliberately. After all, one can customize the order by removing and adding tags in the correct, desired order (although I would consider this cumbersome).

But one thing I can say certainly, we will not add a setting to adjust the way the tags are ordered.

@nextcloud/designers for opinions what a reasonable default would be. I tend to sort them alphabetically to align it with the behavior of Nextcloud server.

raimund-schluessler avatar Jan 01 '24 20:01 raimund-schluessler

@nextcloud/designers for opinions what a reasonable default would be. I tend to sort them alphabetically to align it with the behavior of Nextcloud server.

Yes, sounds good 👍

szaimen avatar Jan 02 '24 11:01 szaimen