benjamonnguyen / obsidian-todotxt-codeblocks

Manage your tasks inside Obsidian codeblocks according to the Todo.txt specification.
MIT License
11 stars 1 forks source link

archive.txt src and filtering #24

Open krisudo opened 3 months ago

krisudo commented 3 months ago

Hi @benjamonnguyen,

And thanks for your work with this plugin, it's really great.

  1. Can we define source/src for the archive.txt file? Not sure if I'm doing it wrong, but it seems it gets created to the root Obsidian folder and there's no way to define the source. I'd like to "hide" it under certain subfolder e.g., the same where my todo.txt file is.

  2. Any ETA for the filtering option? I would like to use only one todo.txt and using this todotxt-codeblock on a project page where I would only like to display "+ProjectX" shows all the contents. Collapsing is an option but when I introduce new projects I would need to collapse everytime.

many thanks for you work

benjamonnguyen commented 3 months ago

@krisudo thanks for the suggestions!

I'll get right to adding configurable archive.txt path.

As for the filter option, can you give me a concrete example of your usage?

The way I'm understanding it is that you have a single todo.txt file that you link to all your codeblocks, and you'd like to filter specific projects per codeblock.

krisudo commented 3 months ago

Hi @benjamonnguyen,

Archive.txt src- If possible, It would be great if the filename doesn't matter e.g, I could use archive file with filename "done.txt".

And the filter - exactly that. I have a single todo.txt I use in multiple codeblocks all over the vault. In certain notes would like to filter the codeblock to only show "+ProjectX" for example (this could be a project note). I often present project notes to others and I'd like to filter out my personal projects from the block. My own use case revolves around syncing the todo.txt via the Obsidian vault to mobile (iOS), and then using the same file with 2do.txt app. This app has filtering options also so I'm able to lookup tasks only to "ProjectX" for example. Again, you said it right and sorry for the messy request.

Thank you!