Filters for Dashboards - Daterange
Dashboards need to have the possibility to have filters which values are then passed on to each widget. Individuals should be able to define different filters of a specific type and the name of the filter.
To start we would add a type for a daterange so users can filter the results to specific time frames.
Design
Deprecated design from #382915 (closed), but this gives an idea of what we want.
Implementation plan
- Add the
GlDaterangePicker
to the dashboard view.- On selected pass the date range as a query override to all panels. This should cause a refetch + render.
- By default this should be the last 7 days
- Max date range should be 30 days
Edited by Jiaan Louw