Explicit overlapping entries / interruptions #281
Nervengift
started this conversation in
Feature ideas & discussions
Replies: 2 comments 14 replies
-
I stumbled over #42 which I had not seen initially. I guess this is basically the same thing |
Beta Was this translation helpful? Give feedback.
7 replies
-
An issue currently is also that tags do not mix well with negative entries:
yields
While I'd expect 7h of #work. I'd have to write
to get the expected result. Is there a bug ticket/discussion for this already that I did not see? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem statement
I noticed that one thing happens pretty regularly for me:
I feel like there should be an easier and more readable way to do handle such interruptions.
Idea 1
Since overlapping entries are usually counted twice, I'd suggest a new syntax for entries that are subtracted from the surrounding entry, but also count for themselves, e.g.
(similar to #43 this could also include parenteses around the time)
With #43 implemented, this could probably also just be syntactic sugar for
Note how we currently have to tag the negative entry with the same tags as the original entry or times for the tags are wrong
This obviously comes with a few edge cases to consider:
It should be possible to handle all these sensibly though and maybe raise warnings.
Idea 2
Another, probably simpler but less neat imho, option might be to build something like
That still creates separate entries like in the first example but makes it less tedious to do so by setting the summary automatically
Beta Was this translation helpful? Give feedback.
All reactions