mvgrimes / obsidian-todotxt-plugin

Obsidian plugin to manage todotxt files
MIT License
54 stars 4 forks source link

Filtering and Searching todo list #28

Closed jackmcdougal closed 7 months ago

jackmcdougal commented 8 months ago

Is there a way to filter and search other than the priority dropdown? I tried using Obsidian's search with file:todo.todotxt but it doesn't pick anything up. Sorry if obvious ... new to Obsidian and just learning ... Thanks!

mvgrimes commented 7 months ago

There really isn't a good way right now. I think I'll add a search box that can be used to filter the todo. Thanks for the question/request.

jackmcdougal commented 6 months ago

Hi! Thanks for this feature addition! 2 Issues popped up when I updated (1 unrelated, 1 pretty critical): 1) Got a parsing error on my todo file (Obsidian wouldn't open it). Tracked it down to having a space at the some todo lines - removing spaces fixed it.

2) SERIOUS BUG: Editing a task while in SEARCH mode will delete all tasks in your todo that aren't in the search term!

mvgrimes commented 6 months ago

Thanks for reporting this! My apologies and I hope you were able to recover your Todo file. I'm releasing v2.0.3 with a fix now.

mvgrimes commented 6 months ago

I'm curious about the space that wouldn't let you open the file. If you have an example, I'd appreciate seeing it.

jackmcdougal commented 6 months ago

Thanks for the quick reply! Yes, I had a copy so np.

For the space issue - see attached: When I try to open (needed to rename to .txt to upload here), I get the attached message (Screenshot) . Second line has a space at the end - if I delete it, it opens. Screenshot from 2024-04-23 06-55-55

todo_test.txt