ActivityWatch / aw-webui

Webapp for visualizing and browsing ActivityWatch data, built with Vue.js.
Mozilla Public License 2.0
105 stars 107 forks source link

Visualization improvements #200

Open ErikBjare opened 4 years ago

ErikBjare commented 4 years ago

This issue is basically a continuation/iteration on https://github.com/ActivityWatch/aw-webui/issues/17

Customizable views

Timeline

Trends

Sunburst

Calendar

Misc

daroczig commented 4 years ago

Hey @ErikBjare -- first of all, hats off, this is a great project, so thanks a lot for your awesome work!

I'm working on a couple of new watchers (eg git commit hooks, email send events) and the "Customizable views" functionality would be awesome for that. I'd be happy to make some donations related to that development -- but currently, I only see general donations. Is it possible to support specific work (eg this ticket)?

Also, what's your preferred way of contributing watchers? I can just put those Python scripts in a public repo under my GH username, but let me know if you'd rather receive a PR somewhere.

ErikBjare commented 4 years ago

Is it possible to support specific work (eg this ticket)?

No, unfortunately. We used to have a Bountysource thing for that purpose, but it wasn't used (and Bountysource has since kinda sold out) so we stopped using it.

There are a few other things that have priority over the customizable views, and while I can understand that you want to provide an incentive for us to implement this specific thing quicker, those other things will still come first, so you might as well make a general (preferably recurring) donation :slightly_smiling_face:

Also, what's your preferred way of contributing watchers? I can just put those Python scripts in a public repo under my GH username, but let me know if you'd rather receive a PR somewhere.

Just put it in a public repo. We'd be happy to link to it from https://docs.activitywatch.net/en/latest/watchers.html, just let us know by sending a PR to https://github.com/ActivityWatch/docs/ :slightly_smiling_face:

daroczig commented 4 years ago

Thanks -- I've just set up a general recurring payment, and will send PR after cleaning up my local repo :+1:

NicoWeio commented 4 years ago

Here's another feature request regarding the timeline (and probably the backend):

Currently, when I look at e.g. the last hour, in which I was first not-afk, then afk and then again not-afk , only the middle and last entries show up in the timeline, because the first one didn't start in the specified time interval. I don't know how complicated it would be to let the backend make a little lookahead for every bucket to see if the previous event extends into the view.

I'm still running v0.9.2 – let me know if this is already implemented.

NicoWeio commented 4 years ago

Another thing is regarding the UX when trying to figure out exactly from when to when an event took place. I use this to later add entries to other time tracking services I use (SaveMyTime/Clockify). Currently, I have to add the duration to the start timestamp manually (usually in my head). So: Displaying the end date in some way would be great.

NicoWeio commented 4 years ago

Related: #216. Although that won't be as relevant when I can add my own views, I guess.

ErikBjare commented 3 years ago

Currently, when I look at e.g. the last hour, in which I was first not-afk, then afk and then again not-afk , only the middle and last entries show up in the timeline, because the first one didn't start in the specified time interval.

@NicoWeio Sorry for the late reply. Your issue should be resolved in aw-server-rust (it'll take some time before it becomes the default server).

Displaying the end date in some way would be great.

Fixed in https://github.com/ActivityWatch/aw-webui/commit/f0e8b4c58daacf5bf565ccdf8d888d16f931617b

Related: #216. Although that won't be as relevant when I can add my own views, I guess.

Custom views were just merged in #233. But still relevant, I've been considering adding something search-like feature like this before.