-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Static content: index.html of watcher: aw-watcher-utilization not found! #8
Comments
I'm currently struggling with this as well. Did you happen to find a way to set it up @erngab? |
I haven't found a solution. |
@erngab @MarshMello0 The static content of aw-watcher-utilization will probably not work with the current version because it was my PoC implementation of how the "custom-visualization" feature could look like. Afterward, the ActivityWatch team changed some things before merging it. See the feature request: ActivityWatch/activitywatch#453 To summarize: Instead of having a URL/GET Variable that includes the data, you need to use the Activity Watch Client and only get the timespan from the URL parameters. Unfortunately, I had no time to implement the new version for aw-watcher-utilization, however, that would be a nice and simple pull request, if you have time. :) I would love to merge it! You can find a working example of a custom visualization here |
Is there a chance this gets implemented sometime? |
@BLACK4585 I will try to find time in the next few days. |
@erngab @MarshMello0 @BLACK4585 Good news!I've successfully implemented visualizations for aw-watcher-utilization. (b6449bd) You can now follow my guide on how to set them up for you. Make sure you have the new v1.2.0 version installed. Unfortunately, for now, there is only the @ErikBjare Feel free to use my watcher as an example. I tried to keep the visualization as simple as possible by only using plain HTML. (Instead of setting up a whole project with Vue or Webpack) |
@Alwinator Excellent work! I decided to mention it in the docs: ActivityWatch/docs@369bcb8 |
@ErikBjare That's a great idea, thanks! :) |
Windows 10
In ActivityWatch I add Custom Visualization
Watcher name: aw-watcher-utilization
Visualisation title: Utilization
It doesn't start, text appears in its place:
Static content: index.html of watcher: aw-watcher-utilization not found!
Log file in aw-watcher-utilization folder:
The text was updated successfully, but these errors were encountered: