Hacked together task system whilst we wait for the proper version #294
OmegaLambda1998
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, just wanted to share a hacky little way I took advantage of the templating system to get tasks working in a way that works for me.
The basic idea is to have a
tasks
directory which contains markdown files with the following frontmatterdesc
: A short description of the taskdue
: An (optional) due date for the task (due: []
means no due date)priority
: An (optional) task priority (priority: []
means no priority). High values are less prioritised.status
: The character you'd put in a checkbox to indicate the state of the task (~
for "ongoing",x
for completed, etc...)I then have a bunch of functions to filter and sort these tasks. In particular my basic sorting is by priority, then due date. Based on this I have a daily note which, when it is created, generates various lists of tasks (due today, due this week, high priority but not due for a while, low priority and not due for a while).
I've got some ideas to extend this slightly such that the creation date of the task is included in the metadata, allowing
due: tomorrow
to be calculated relative to the creation date of the task. But I don't want to invest too heavily in this with the proper task system coming along.Beta Was this translation helpful? Give feedback.
All reactions