timetagger icon indicating copy to clipboard operation
timetagger copied to clipboard

Select tags in overview with OR logic

Open Tagirijus opened this issue 2 years ago • 4 comments

What about the option to have an OR logic for selecting the tags for filtering? At the moment you select a tag and it filters already, since it's ... yeah, filtering. With the OR logic maybe you could select other tags, which are normally filtered out already to be used as well in an OR-logic manner.

Example case: Sometimes I might want to get a report about how much time I have spent on e.g. cratie tasks like music production AND sounddesign, while I track not both at the same time. Like there are entries for "#project #sound" and "#projectB #music". Now at the moment I could not filter with just these tags to show entries, which have "#sound" OR "#music".

What do you people think about this idea?

Tagirijus avatar Apr 11 '24 21:04 Tagirijus

Sounds very reasonable. Relates a bit to #359

almarklein avatar Apr 12 '24 13:04 almarklein

Indeed ... sounds related. Yet I would say it's not quite the same. Only in the matter of it being "logic related". But yeah: having a negative filtering as well, could be nice as well, for sure.

Idea: is it possible to get right or middle click? I mean it's basically JS on the client site, right? So this should technically be possible, I guess. Then there could be the GUI implementation that you can click selected tags with different mouse buttons or keyboard modifiers (e.g. "Ctrl+Click") to switch to another logic.

Tagirijus avatar Apr 12 '24 13:04 Tagirijus

Oh wait, in this issue you mean selecting tags in the overview, right? I somehow assumed this was in the context of the search dialog 😅

almarklein avatar Apr 12 '24 14:04 almarklein

Correct: I meant the overview on the right! (=

Tagirijus avatar Apr 12 '24 14:04 Tagirijus