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

Treat priority as an arbitrary string #350

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

djmitche
Copy link
Collaborator

This matches what TaskWarrior does: priority is a UDA, and can be
redefined by the user's local config.

I dislike this decision, as it means that anything interpreting a task has to either know the user's UDA configurations (and at this point, configuration is not replicated, so that's a local setting); or guess that "L", "M", and "H" mean what they usually do. But, it's how TW works so we'll stick with it.

@miguelpduarte this will touch similar bits of the code to #348, if you'd like to take a look.

@djmitche djmitche requested a review from dbr as a code owner March 27, 2022 21:52
This matches what TaskWarrior does: priority is a UDA, and can be
redefined by the user's local config.
Copy link
Collaborator

@dbr dbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed - seems worse than having an inherently sortable type, and probably hard to change given TW's historical baggage, so, 🤷 LGTM

@djmitche djmitche merged commit 6f8c734 into GothenburgBitFactory:main Apr 6, 2022
@djmitche djmitche added this to the v0.5.0 milestone Apr 6, 2022
@djmitche djmitche mentioned this pull request Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants