Update README to v2.0.0 functionality.

dev^2
Hoffelhas 2023-01-15 15:42:17 +01:00 committed by GitHub
parent 8b23fbd59a
commit d6d1ba121f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 52 additions and 20 deletions

View File

@ -7,7 +7,7 @@ This program adds four major functionalities to Todoist to help automate your wo
- Limit labels based on a start-date or hide future tasks based on the due date - Limit labels based on a start-date or hide future tasks based on the due date
2) Enable regeneration of sub-tasks in lists with a recurring date. Multiple modes possile. 2) Enable regeneration of sub-tasks in lists with a recurring date. Multiple modes possile.
3) Postpone the end-of-day time to after midnight to finish your daily recurring tasks 3) Postpone the end-of-day time to after midnight to finish your daily recurring tasks
4) Make multiple items (un)checkable at the same time 4) Make multiple tasks (un)checkable at the same time
If this tool helped you out, I would really appreciate your support by providing me with some coffee! If this tool helped you out, I would really appreciate your support by providing me with some coffee!
@ -29,11 +29,11 @@ For your convenience a requirements.txt is provided, which allows you to install
# 1. Automatic next action labels # 1. Automatic next action labels
The program looks for pre-defined tags in the name of every project, section, or parentless tasks in your Todoist account to automatically add and remove `@next_action` labels. To create a simple list of all your next actions you can add a new filter in your Todoist with e.g.: @next_action & #project_name. The program looks for pre-defined tags in the name of every project, section, or parentless tasks in your Todoist account to automatically add and remove `@next_action` labels.
Projects, sections, and parentless tasks can be tagged independently from each other to create the required functionality. If this tag is not defined, it will not activate this functionality. The result will be a clear, current and comprehensive list of next actions without the need for further thought. Projects, sections, and parentless tasks can be tagged independently from each other to create the required functionality. If this tag is not defined, it will not activate this functionality. The result will be a clear, current and comprehensive list of next actions without the need for further thought.
See the example given at [running Autodoist](#running-autodoist) on how to run this mode. If the label does not exist yet in your Todoist, a possibility is given to automatically create it. Todoist Premium is required in order to use labels and to make this functionality possible. See the example given at [running Autodoist](#running-autodoist) on how to run this mode. If the label does not exist yet in your Todoist, a possibility is given to automatically create it.
## Useful filter tip ## Useful filter tip
@ -43,33 +43,57 @@ For a more GTD-like workflow, you can use Todoist filters to create a clean and
## Sequential processing ## Sequential processing
If a project, section, or parentless task ends with `--`, both the parentless tasks and its sub-tasks will be treated as a priority queue and the most important will be labeled. Importance is determined by order in the list. If a project, section, or parentless task ends with `-`, the tasks will be treated as a priority queue, where only the first task that is found is labeled. If a task contains sub-tasks, the first lowest task is labeled instead.
[UPDATE FIGURE]
![Serial task](https://i.imgur.com/SUkhPiE.gif) ![Serial task](https://i.imgur.com/SUkhPiE.gif)
## Parallel processing ## Parallel processing
If a project, section, or parentless task name ends with `//`, both the parentless tasks and its sub-tasks will be treated as parallel. A waterfall processing is applied, where the lowest possible sub-tasks are labelled. If a project, section, or parentless task name ends with `=`, all tasks will be treated in parallel. A waterfall processing is applied, where the lowest possible (sub-)tasks are labelled.
[UPDATE FIGURE]
![Parallel task](https://i.imgur.com/NPTLQ8B.gif) ![Parallel task](https://i.imgur.com/NPTLQ8B.gif)
## Advanced labelling ## Advanced labelling
If a project or section ends with `-/`, all parentless tasks are processed sequentially, and its sub-tasks in parallel. Projects, sections, and (parentless) tasks can be used to specify how the levels under them should behave. This means that:
[See example](https://i.imgur.com/uGJFeXB.gif) - A project can accept up to three tags, to specify how the sections, parentless tasks, and subtasks should behave.
- A section can accept up to two tags, to specify parentless tasks and subtasks should behave.
- A task at any level can be labelled with one tag, to specifcy how its sub-tasks should behave.
If a project or section ends with `/-`, all parentless tasks are processed in parallel, and its sub-tasks sequentially. Tags can be applied one each level simultaneously , where the lower level setting will always override the one specified in the levels above.
[See example](https://i.imgur.com/5lZ1BVI.gif) ### Shorthand notation
Any parentless task can also be be given a type by appending `//` or `--` to the name of the task. This works if there is no project type, and will override a previously defined project type. If fewer tags then needed are specified, the last one is simply copied. E.g. if a project has the tag `=` this is similar to `===`, or if a project has `=-` this is similar to `=--`. Same for sections, `=` is similar to `==`.
[See example 1 with a parallel project](https://i.imgur.com/d9Qfq0v.gif) ### Project labeling examples
- If a project ends with `---`, only the first section has tasks that are handled sequentially.
- If a project ends with `=--`, all sections have tasks that are handled sequentially.
- If a project ends with `-=-`, only the first section has parallel parentless tasks with sequential sub-tasks.
- If a project ends with `--=`, only the first section and first parentless tasks has parallel sub-tasks.
- If a project ends with `==-`, all sections and all parentless tasks will have sub-tasks are handled sequentially.
- If a project ends with `=-=`, all sections will have parentless tasks that are processed sequentially, but all sub-tasks are handled in parallel.
- If a project ends with `-==`, only the first section has parallel tasks.
- If a project ends with `===`, all tasks are handled in parallel.
[See example 2 with a serial project](https://i.imgur.com/JfaAOzZ.gif) ### Section labeling examples
- If a section ends with `--`, only the first parentless task will have sub-tasks that are handled sequentially.
- If a section ends with `=-`, all parentless tasks will have sub-tasks that are handled sequentially.
- If a section ends with `-=`, only the first parentless task has sub-tasks that are handled in parallel.
- If a section ends with `==`, all tasks are handled in parallel.
### Tasks labeling examples
- If a task ends with `-`, the sub-tasks are handled sequentially.
- If a task ends with `=`, the sub-tasks are handled in parallel.
### Kanban board labeling
A standard workflow for Kanban boards is to have one actionable task per column/section, which is then moved to the next column when needed. Most often the most right column is the 'done' section. To ensure that every column only has one labelled task and the last column has contains no labelled tasks, you could do either of two things:
- Add the `=--` tag to the project name, and disable labelling for the 'done' section by adding `*` to either the start or end of the section name.
- Add the `--` tag to every section that you want to have labels.
Note: Todoist sections don't like to have a slash in the name, it will automatically change to an underscore. The default label options will recognize this to make it work regardless. Of course you're always free to define your own custom label symbols.
## Start/Due date enhanced experience ## Start/Due date enhanced experience
@ -83,7 +107,13 @@ Two methods are provided to hide tasks that are not relevant yet.
# 2. Regenerate sub-tasks in recurring lists # 2. Regenerate sub-tasks in recurring lists
The program looks for all parentless tasks with a recurring date. If they contain sub-tasks, they will be regenerated in the same order when the parentless task is checked. Todoist Premium is not required for this functionality. *DISCLAIMER: This feature has been disabled for now due to two reasons:*
- *Regeneration is a [core feature of Todoist nowadays](https://todoist.com/help/articles/can-i-reset-sub-tasks). This was made possible thanks to all of you who are using and supporting Autodoist, which resulted in Doist to include this too! Thank you all for making this happen!*
- *Due to the change in the REST API v2.0 it's not possible to see completed tasks, which makes regeneration a bit difficult.*
*Nevertheless, the Todoist implementation is still more limited than Autodoist, it does not restore the original order of the sub-tasks, and deeper sub-tasks can't be reset. I therefore believe it is still useful for this feature to be re-enabled in the near future.*
Autodoist looks for all parentless tasks with a recurring date. If they contain sub-tasks, they will be regenerated in the same order when the parentless task is checked.
![See example](https://i.imgur.com/WKKd14o.gif) ![See example](https://i.imgur.com/WKKd14o.gif)
@ -100,15 +130,15 @@ In addition you can override the overall mode by adding the labels `Regen_off`,
You have a daily recurring task, but you're up working late and now it's past midnight. When this happens Todoist will automatically mark it overdue, and when checked by you it moves to tomorrow. This means that after a good nights rest you can't complete the task that day! You have a daily recurring task, but you're up working late and now it's past midnight. When this happens Todoist will automatically mark it overdue, and when checked by you it moves to tomorrow. This means that after a good nights rest you can't complete the task that day!
By setting an alternative time for the end-of-day you can now finish your work after midnight and the new date will automatically be corrected for you. Todoist Premium is not required for this functionality. By setting an alternative time for the end-of-day you can now finish your work after midnight and the new date will automatically be corrected for you.
![See example 1](https://i.imgur.com/tvnTMOJ.gif) ![See example 1](https://i.imgur.com/tvnTMOJ.gif)
# 4. Make multiple items uncheckable / re-checkable at the same time # 4. Make multiple tasks uncheckable / re-checkable at the same time
Todoist allows the asterisk symbol `* ` to be used to ensure tasks can't be checked by turning them into headers. Now you are able to do this en masse! Todoist allows the asterisk symbol `* ` to be used to ensure tasks can't be checked by turning them into headers. Now you are able to do this en masse!
Simply add `** ` or `!* ` in front of a project, section, or top item, to automatically turn all the items that it includes into respectively headers or checkable tasks. Simply add `** ` or `-* ` in front of a project, section, or parentless task to automatically turn all the tasks that it includes into respectively headers or checkable tasks.
# Executing Autodoist # Executing Autodoist
@ -136,10 +166,12 @@ These modes can be run individually, or combined with each other.
Several additional arguments can be provided, for example to change the suffix tags for parallel and sequential projects: Several additional arguments can be provided, for example to change the suffix tags for parallel and sequential projects:
python autodoist.py --pp_suffix <tag> python autodoist.py --p_suffix <tag>
python autodoist.py --ss_suffix <tag> python autodoist.py --s_suffix <tag>
Or if you want to hide all tasks due in the future: Note: Be aware that Todoist sections don't like to have a slash '/' in the name, which will automatically change to an underscore. Detection of the tag will not work.
If you want to hide all tasks due in the future:
python autodoist.py --hf <NUMBER_OF_DAYS> python autodoist.py --hf <NUMBER_OF_DAYS>