obsidian-tasks
obsidian-tasks copied to clipboard
Allow additional tasks states and filtering by states
Discussed in https://github.com/schemar/obsidian-tasks/discussions/674
Originally posted by sytone May 17, 2022
Goal
When toggling a task, it should be able to move through more states than Todo (- [ ]) or Done (- [x]). This new feature will allow users to provide additional states with - [-] and - [/] being available by default.
Design
When a task is marked as completed it will always match - [x] in alignment with GFM.
To implement this the following sections of the plugin will be updated.
- The settings and settings UI. This will allow users to add other status values to be allowed.
- The task object will have a new states object to track the state and the character representing the state.
- The toggle action would be updated to rotate though the task states. There will be an option to enable/disable this.
- Update the task UI to allow the new states to be shown.
Pending Options
- Allow additional user specified state transitions. This would allow the user to state which state would be rotated through based on the current state of the task.
@sytone you created an issue for the PR, I assume? Sorry for converting it back and forth. Please update the linked issue in your PR.
Yes I did. Habits die hard I always link a issue/task to a pull request.
I can see this similar issue that has been closed and moved to a discussion I see https://github.com/obsidian-tasks-group/obsidian-tasks/issues/666 https://github.com/obsidian-tasks-group/obsidian-tasks/issues/675 I can't figure out what's the state of this, but would love to be able to use additional states. Could you clarify what the state of this is?
I can see this similar issue that has been closed and moved to a discussion I see #666 #675 I can't figure out what's the state of this, but would love to be able to use additional states. Could you clarify what the state of this is?
Hi @ASL07 sure, I will be working towards this in Tasks, but there is some other work that I'll be doing first, and as a spare-time project, there's no time-scale yet.
I'm tracking it in #312 - so the best thing to do is to:
- Upvote that discussion
- Subscribe to it, for future updates
This was just released, in Tasks 1.23.0 🎉 https://github.com/obsidian-tasks-group/obsidian-tasks/releases/tag/1.23.0 See the links in that release page for copious docs and tips.
For the record, I went to considerable effort to credit @sytone's initial work, in the commit messages, the docs, the release announcement and the Discord announcement.
For example: https://obsidian-tasks-group.github.io/obsidian-tasks/getting-started/statuses/#credit-sytone-and-the-tasks-sql-powered-plugin