mind-the-time
mind-the-time copied to clipboard
Allow specific hour/day range combinations to be tracked against a specific tag/label
It would be nice to only track usage between specific time frames and/or days. Rather than not counting, it'd be even more useful to see usage within one time range vs outside that timerange.
So thinking work hours vs after work potentially. Would just need a setting to specify a label and the hours/days ranges that apply to that label. This would allow whatever ranges to be tracked just by tagging them with a label then aggregating the labels individually. Would allow overlaps then too.
That could be interesting. It might take some significant re-working of how the data is stored. Currently there is just a running tally of time per website per day, so there's no way to do more fine-grained slicing and dicing of the reporting, etc. (Well, that is, with the thought of making it super flexible so you could create or change labels/times and have them take effect retroactively, not just going forward...)
How about logging to disk as a starting point? I could then index that data into something like Elasticsearch and go bananas with it. The tricky UI parts for the plugin can come later potentially, but with a way to externalise the data, the plugin will be immediately useful for any number of uses.
That could be a good starting point. I'm not sure what form of 'logging to disk' you mean in this case though, can you say more?
Appending to a CSV would be something another tool could ingest
Okay, makes sense, assuming there is a way to do that from a web extension add-on.
Good point, there's going to probably be numerous security barriers involved. Is it any easier if you can log to an external API?