Skip to content

Fix new custom dashboard filters default value

Jiaan Louw requested to merge jlouw-fix-new-analytics-dashboard-filters into master

What does this MR do and why?

This fixes an issue where the default date range filter on new custom dashboards wasn't being set and thus panels had no filter applied.

Note that Product Analytics is an experimental feature hidden behind a default off feature flag.

Related issue New Custom Dashboard Flow - Dashboard designer MVC (#422024 - closed).

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Follow these instructions to setup Product Analytics in GDK.
  2. Onboard Product Analytics by setting up the feature at Project > Analytics > Analytics dashboards.
  3. Enable custom dashboards by following the alert prompt on Project > Analytics > Analytics dashboards.
  4. Create a new custom dashboard by clicking on New dashboard on Project > Analytics > Analytics dashboards.
  5. Add a panel from the available visualizations and results' date range that the date range matches the shown filter.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jiaan Louw

Merge request reports