Plugin/open tasks - #282
Conversation
|
Thanks for this! I'm going to hold off merging for a bit, but for a good reason. I've wanted to rework the plugin system for a while and could never quite work out what was actually wrong with it, your PR helped me. I'm redoing that part now so Nice attention to detail, by the way: escaping the label and reusing the existing search-highlight markup were exactly right. Kind regards. |
|
Thanks for the praise, but the filter was just my idea — my AI did the rest. I'm looking forward to the plugin system that's coming; I'll suggest a few new features then. |
|
Thanks for your patience on this. The plugin system rework I mentioned is merged, along with a new home for community plugins, so this is unblocked. It's all on Good news first: I ran your plugin against the reworked system without changing a line and it works. The in-place Please rebase onto latest What to undoDrop your Drop the What to addMove the plugin to Document it in the module docstring instead of in """
Open Tasks
Turns the search box into a task inbox.
Trigger: search for @task or @tasks
Install: cp plugins/contrib/open_tasks.py plugins/
Author: @your-handle
Caveats: ...
"""Please carry over what counts as an open task, the fact that fenced code blocks are skipped, and the note about escaping note content that lands in Fix the frontmatter bug. Frontmatter is scanned like body text, so a Reconcile the match limit. Optional, now that it existsIf your plugin defines Please test the install pathYou'd be the first person through this folder, so I'd like to know whether it actually works before it's set in stone. Running against
If you run under Docker, Happy to merge with the undo/add items done and pick up the rest myself if you'd rather stop there. |
a sample plugin that searches all note for unticked checkboxes.
It helps finding open task in the vault