Add PENDING, COMPLETED, DELETED synthetic tags

Note that DELETED is not tested since we don't yet support deleting
tasks.
This commit is contained in:
Dustin J. Mitchell 2021-06-05 21:10:11 -04:00
parent 0e60bcedaf
commit cf3a053a0e
4 changed files with 45 additions and 7 deletions

View file

@ -21,3 +21,6 @@ The following synthetic tags are defined:
* `WAITING` - set if the task is waiting (has a `wait` property with a date in the future)
* `ACTIVE` - set if the task is active (has been started and not stopped)
* `PENDING` - set if the task is pending (not completed or deleted)
* `COMPLETED` - set if the task has been completed
* `DELETED` - set if the task has been deleted (but not yet flushed from the task list)