Part of time period #48
Replies: 12 comments 3 replies
-
Maybe there could be an "ignore total" feature for a tracker, so your above code would be:
|
Beta Was this translation helpful? Give feedback.
-
Ah, maybe some symbol before a duration could be something! An alternative might be the exclamation sign If something like was to be implemented, I think that would be a non-intrusive feature 👍. |
Beta Was this translation helpful? Give feedback.
-
@jotaen What are your thoughts on this? I think the general "time tracker decorators" (another being #41) concept would be quite cool. |
Beta Was this translation helpful? Give feedback.
-
This would be kind of a breakdown of times, wouldn’t it? Like: I did something for 5h; 3h of which this and 2h of which that. As far as I see this only makes sense in conjunction with tags, right? At least when it comes to the evaluation? I’m not sure, though, how this could be conceptualised transparently, because if you say the Maybe related inspiration, (h)ledger (a plain-text accounting format/tool) has a feature called “virtual postings” where you put entries in parenthesis and then they are only taken into consideration under specific circumstances. It’s useful on the one hand, but it also introduces some hidden complexity. I think such a feature could make a powerful addition, but I feel it must be carefully designed. |
Beta Was this translation helpful? Give feedback.
-
Exactly my thoughts. @jotaen: Should another issue be created for the idea proposed in this thread? My initial though was some sort of subset of a time period, and the idea proposed here is a conditional entry. |
Beta Was this translation helpful? Give feedback.
-
You mean the “ignoring”? As far as I understood this was also supposed to be a solution to the use-case you described. Not sure currently how useful it would be on its own. On the other hand there also was a discussion around point-in-time entries, so maybe this is all sort-of related… 🤔 |
Beta Was this translation helpful? Give feedback.
-
Hm. I do not really know what is best for klog, so I am conveniently going to push that decision onto you ;) The issue is very much related to me writing down everything manually, which I also briefly mention in a comment in #3 |
Beta Was this translation helpful? Give feedback.
-
(I would like to say that I like klog as it is right now. Personally, I am a bit worried about feature-creep.) |
Beta Was this translation helpful? Give feedback.
-
As one who has contributed to this, first of all, I am sorry - but yes, I have felt this too. I think that my idea and this one could be implemented carefully and elegantly, but at what point do we draw the line on adding new, incredibly specific use-case features? Is klog really the format for this purpose? Time is complicated, and how people use it even more so. |
Beta Was this translation helpful? Give feedback.
-
Yeah, I feel the same. I also like the current set of functionalities and perceive it as relatively self-contained and complete. I’m open to new ideas and enhancements, but keeping klog simple and straightforward is the primary goal. The line-drawing is tricky in any event, as you mentioned the use-cases are vastly different and there is no one-size-fits-all solution. The good thing is there are approximately 1283992 other time tracking tools, so people have plenty of choice. I cleaned up the issue labels a bit, to make it clearer which ideas are still tentative and which are more concrete. Just as fyi, I’m currently in favour of adding multiline entry summaries and negative time ranges, because they seem to make sense in itself and are strictly optional (i.e. not affecting or interferring with existing functionality). I won’t rush this, though, and I also wanted to finalise the v1.0 file-spec before adding anything new to the file format. |
Beta Was this translation helpful? Give feedback.
-
Side note: if you plan to make any larger or breaking changes, please keep me updates so I can update the VS Code klog extension 😋 |
Beta Was this translation helpful? Give feedback.
-
Simple solution:
One file per project works pretty good, if you need more structure you can create a folder for each project, something like
I use one file per month (1.klg, 2.klg). In addition to that you can even create a symbolic link to the current month for every project, e.g.
Doing this you don't need to specify the longer path for specifying the correct folder. If you can leverage the power of using plain text files why not combine that with the built in features that the os offers us? 😃 |
Beta Was this translation helpful? Give feedback.
-
This is more of a question than a suggestion.
At my workplace I need to keep track of two things:
Usually, I do a multitude of things for my department. But sometimes I get assigned to a project where we bill for the time we spent on that project.
What I want to do is to write down an entry when I get to work and when I leave. Then I'd like to make an entry for the time spend with the project, which would be a "part" of that time. At the end of the month I'd like to summarize the total of hours spent with that project.
The only way I think I could do this as of right now would be:
This will give that I worked 8 hours that day, and when I summarize
#foo
, it would give4h20m
. Is there an best practice to do what I want?(If this was to be some additional feature to the language, I have no idea how that would work.)
Beta Was this translation helpful? Give feedback.
All reactions