Activitywatch: Editor tab (VSCode) in Activity View only show current day

Created on 4 Dec 2019  路  3Comments  路  Source: ActivityWatch/activitywatch

Describe the bug

On "Activity" view, when I select a day other than the current one, the Editor tabs still show the information of the current day (being the files and project I worked on today in VSCode).

To Reproduce

Steps to reproduce the behavior:

  1. You need VSCode with the Activity Watch plugin running with data on two different days
  2. Go to 'Activity'
  3. Click on 'Editor'
  4. Take note of today's activity
  5. Select a previous day in the timeline
  6. Click on 'Editor'
  7. Check if anything is different compared to what you've seen on 3

Expected behavior

I should see the Editor Activity for the selected day.

Environment

  • ActivityWatch v0.8.3
  • OS: Ubuntu 18.04.3 LTS
  • VSCode 1.40.2
  • aw-watcher-vscode 0.4.0

Thx for this useful piece of software :smiley:

visualization bug

Most helpful comment

Solved in https://github.com/ActivityWatch/aw-webui/pull/160, will be fixed in the next release

All 3 comments

Woops, looks like I missed this in testing!

I don't use any editor watcher right now, so would be nice if someone else could fix this.

The quick way is to just add a watch on the date prop that runs the query, the correct way is to move the query into the Vuex store.

Maybe @johan-bjareholt? Would be a good opportunity to better understand Vuex.

Solved in https://github.com/ActivityWatch/aw-webui/pull/160, will be fixed in the next release

Was this page helpful?
0 / 5 - 0 ratings

Related issues

awesomehaze picture awesomehaze  路  9Comments

alexriabtsev picture alexriabtsev  路  4Comments

pahofmann picture pahofmann  路  10Comments

toXel picture toXel  路  5Comments

MarcManhart picture MarcManhart  路  3Comments