I’ve been toying around with some prototypes for how the interactions could work for an agenda view.
The simplest solution is to just collect all the lines with the task checkbox (i.e. - [ ]
or - [x]
) from across the vault into a single view that allows a user to see and toggle its state (alternately, each entry in this list could link back to the original page, no strict need for projectional editing in the agenda view).
This could be further improved with date/times associated with a task. I’ve found success deriving a list of “associated dates” for each task from:
- The note’s title (if the parent note is a daily note) or the line’s version history (if in a git repo, or some other versioned vault)
- This provides an implied “task created” date
- Any parsed date or time object in the contents of the task item itself (related: Keyboard shortcuts to enter current date/time)
When the agenda view has this information, the UI can not filter on completed status, creation date, and “associated” date. For example, if I create a task in a daily note:
2020-06-01.md
:
- [ ] Prepare for big meeting on [[2020-06-05]]
I can filter my agenda by “all dates <= today” or “the next 7 days” and see this item. (edit: possibly related to Filter notes, e.g. by date and has tags?)