feat: better download for conversation traffic heatmap (#6755)

* feat: genearte report in a grid

* refactor: update API usage

* refactor: separate generate method

* refactor: abstract transform_data

* feat: annotate with comments

* feat: add explicit timezone

* feat: download data only in user timezone

* fix: dates included in heatmap
This commit is contained in:
Shivam Mishra
2023-04-11 09:40:54 +05:30
committed by GitHub
parent f4e121cc44
commit 17ff1f11a7
8 changed files with 114 additions and 38 deletions

View File

@@ -180,7 +180,7 @@ export const actions = {
});
},
downloadAccountConversationHeatmap(_, reportObj) {
Report.getConversationTrafficCSV(reportObj)
Report.getConversationTrafficCSV()
.then(response => {
downloadCsvFile(
generateFileName({