feat: Add feature to download routing form reports (#17400)

* remove unused code

* add i18n for some strings in widget

* improve UI and add download button to routing forms reporting page

* add more margin

* add downloadAsCsv util

* integrate download button to routing forms report

* refactor

* address comment

* escape comma multiselect items

* fix

* preserve new lines and wrapping

* refactor

* ensure fetching all rows
This commit is contained in:
Benny Joo authored and GitHub committed 2024-11-05 11:21:13 -05:00
1 parent 423b284278
commit 803fc488c5
7 files changed
+97 -35

No files matched your search

@@ -7,12 +7,6 @@ import type { RawDataInput } from "./raw-data.schema";
type TimeViewType = "week" | "month" | "year" | "day";
type DateRange = {
startDate: string; // ISO string format
endDate: string; // ISO string format
formattedDate: string;
};
type StatusAggregate = {
completed: number;
rescheduled: number;