timetagger icon indicating copy to clipboard operation
timetagger copied to clipboard

Improved tag search

Open jiri opened this issue 1 year ago • 3 comments

I'd love to be able to search for entries that don't have a tag. I use a tag to track time that has been billed, so being able to filter billed time out would help me to not go crazy :)

jiri avatar Jul 27 '22 13:07 jiri

Do you mean in the "Search records and tags" dialog? It would indeed make sense to be able to use #untagged to search for untagged entries.

almarklein avatar Jul 27 '22 20:07 almarklein

I'm sorry, I'll try to rephrase this more clearly. I want to filter certain tags out, so I'd like to search for "tags with the #project tag but NOT the #billed tag". Basically just perform completely standard set operations on the tags :) Preferably with a custom notation in the searchbox (similar to how most other software does it), e.g. something like #project not:#billed.

As for searching for untagged entries, I'm heavily against using #untagged to search for untagged entries. It's not discoverable, it could interfere with people's existing setups and offers no benefit over just including a checkbox for it.

jiri avatar Jul 28 '22 12:07 jiri

Thanks for the clarification. A simple "query language" like that seems reasonable!

almarklein avatar Jul 30 '22 22:07 almarklein

Done! I opted for prepending tags/words with "!".

almarklein avatar Nov 21 '22 23:11 almarklein