traggo/server

going from list view to dashboards wont update the dashboards with the latest changes.

Opened this issue · 1 comments

Describe the bug
If you make some changes in the list view (creating and deleting a timespan or stopping a running one), you won't see it in dashboard charts right away. it requires refreshing the whole tab to fetch the new data.
It's a minor inconvenience(issue) that could be by design but I thought I should mention it.
It's already working properly when you switch from list to calendar.

To Reproduce
Steps to reproduce the behavior:

  1. Go to list view
  2. Add new time span with manual mode (or stop a running tracker) image
  3. Go to the dashboard
  4. Corresponding chart is empty. image
  5. reload the tab
  6. chart includes the new entry now image

Yeah, we probably have to make the dashboards dependent on the timespan mutations, so the cache is flushed.