Followup: Cache returned label chart data in the vuex store

This is a follow up for !18252 (merged), after we fetch the chart data for the tasks by type chart, we should also:

  • store the results under the label id in the vuex store.
...
state {
 tasksByType: {
  data: {
   [label_id]: label_data
  }
 }
}
...
  • check if we already have the label data when we are making subsequent requests for label data

Related to note_227284181

We should also debounce the filters to ensure we dont send unnecessary requests

Part of #33604 (closed)

Edited Jan 17, 2020 by Ezekiel Kigbo
Assignee Loading
Time tracking Loading