obsidian-tasks: Add a 'priority is not' filter option
⚠️ Please check that this feature request hasn’t been suggested before.
- I searched previous Ideas in Discussions didn’t find any similar feature requests.
- I searched previous Issues didn’t find any similar feature requests.
🔖 Feature description
NOT Filter
- Add a new filter to the priority property.
I’d like to have all tasks, except those that don’t have a priority setup.
Currently it isn’t possible in a single filter.
priority above none returns only medium and high priority tasks.
✔️ Solution
Change
priority is (above|below)? (low|none|medium|high)
to
priority is (above|below|not)? (low|none|medium|high)
❓ Alternatives
I’m using three queries one for each priority that I want, but it’s lame.
I suggested a not filter 'cause I think it would be more easy to combine with the current above and below options, but other option would be having a has filter, like:
has priority
📝 Additional Context
Questions
I was wondering why none has more priority than low… Shouldn’t be under low?
If so, the NOT Filter suggested here wouldn’t be necessary, we could easily use priority is above none as well.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (5 by maintainers)
Commits related to this issue
- feat: Add 'priority is not' variant. Fixes #1364. — committed to obsidian-tasks-group/obsidian-tasks by claremacrae 2 years ago
@FabianoLothor and @claremacrae, I have opened a discussion thread here now.
And hey @FabianoLothor, thank you for suggesting it!
Awesome @claremacrae, it’s a nice improvement.
Please, ping me there.
I take the point about it not being obvious in the docs. (one has to know about the
NOToption, which is documented elsewhere).So I have gone ahead and implemented this. It didn’t take long.
As there is a workaround, I won’t do a release for this one feature - it will be included whenever the next release is done.
Yes, this has turned into a discussion of possible better names for priorities. I can add a new discussion thread for this and copy some of the ideas from here.
I think that has all got a bit off topic from ‘how to negate a priority value’-sort-of-thing… I should have said this earlier, but I feel like it’s more of a conversation for Discussion than Issue anyway. (Issues are for actionable things…)
Correct (sorry)
On Dec 1, 2022 at 12:48:21 PM, Clare Macrae @.***> wrote: