Add date filter controls for dashboard viewers

Merged
EH
1d ago
+696-48

What

Viewers can change a saved dashboard date filter from the bar below the tabs. For example, changing Reporting period narrows the bar, line, and pie charts connected to that filter. A tab shows a chip when one of its visible charts uses that filter.

How

  • Reuse the object filter chip, operand menu, and date pickers.
  • Keep viewer selections in browser storage per workspace member and dashboard. Reset restores the saved defaults.
  • Send the selected date only to charts with a saved binding, behind the existing dashboard filters flag.

Stacked on #32378. Creating and connecting filters in the editor, record tables, and chart drilldown are follow-ups.

Testing

Passed 11 focused frontend tests across three suites, along with the frontend typecheck and lint. The viewer coverage checks clearing the date, switching tabs, and resetting to the saved default.