-
-
Notifications
You must be signed in to change notification settings - Fork 238
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
Urgency doesn't take into account priority #1795
Comments
Hi, you haven't shown a screenshot, but I can see what is going on. Seeing the problemIf, in your Tasks results, you click the Edit /pencil icon, you will see that none of your tasks has a priority value, and that the icons appear at the start of the description. Please see this section in the docs for the reason why: Fixing your tasksIf you move the Priority icons to after the descriptive text, the priorities will be loaded and the scores will differ, as documented in the table in: https://obsidian-tasks-group.github.io/obsidian-tasks/advanced/urgency/#how-urgency-is-calculated |
No action is needed, Tasks is behaving as currently intended - and as documented. |
@claremacrae For future reference, this is the same as issue #1505 , yes? I'll go take a look at that one. |
Thank you... Yes, that's the one. I'm not sure if you're thinking of working on that, but I'll reply over in that issue, anyway... |
@claremacrae thanks, just wanted to make sure there was a link here to that in case someone else found this ticket looking for my issue. I will indeed see what I can do about that other issue. |
So I will close this one, as it adds no actions above what you have already identified in #1505. |
Please check that this issue hasn't been reported before.
Expected Behavior
Tasks with higher priority should be receiving more urgency according to the documentation.
Current behaviour
If I make 4 tasks, no dates, and set each to a different priority, they are all assigned the same urgency (1.95) as if they had no priority.
Steps to reproduce
Add the following content to a file titled "Test":
All tasks will show 1.95 urgency.
Which Operating Systems are you using?
Obsidian Version
1.1.16
Tasks Plugin Version
2.0.0
Checks
Possible solution
I'll pull the source and see if I can fix this. I see in Urgency.ts that it should be assigning the priority correctly but the switch statement has no default, so if the priority isn't reading correctly you'd never know. First step is to get an error catch in there for when it's not one of the expected values, then figure out why it's not.
The text was updated successfully, but these errors were encountered: