Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Order task tags alphabetically #2382

Open
TristanCottam opened this issue Nov 6, 2023 · 7 comments
Open

Feature request: Order task tags alphabetically #2382

TristanCottam opened this issue Nov 6, 2023 · 7 comments

Comments

@TristanCottam
Copy link

TristanCottam commented Nov 6, 2023

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 TristanCottam changed the title Feature request: Order tags alphabetically Feature request: Order task tags alphabetically Nov 6, 2023
@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Nov 13, 2023

a task's tags should always be ordered alphabetically

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

@TristanCottam
Copy link
Author

@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.

@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Nov 14, 2023

#2382 (comment)

@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.

@TristanCottam
Copy link
Author

TristanCottam commented Nov 17, 2023

@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.

@RokeJulianLockhart

This comment was marked as off-topic.

@raimund-schluessler
Copy link
Member

raimund-schluessler commented Jan 1, 2024

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.

@szaimen
Copy link
Contributor

szaimen commented Jan 2, 2024

@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 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants