Connect chart filters to backend (#15133)

This PR connects the chart filters settings page to the backend.

Both for persisting the filters in the chart's configuration and also
for querying with those filters.

I made sure that the filters configuration is reset in the draft if we
change the data source object.
This commit is contained in:
Lucas Bordeau
2025-10-16 17:17:01 +02:00
committed by GitHub
parent 1b6c9e851f
commit 59004306c9
23 changed files with 414 additions and 112 deletions
@@ -0,0 +1,8 @@
import { type ChartWidget } from '@/command-menu/pages/page-layout/types/ChartWidget';
import { WidgetType } from '~/generated/graphql';
export const isChartWidget = (
pageLayoutWidget: any,
): pageLayoutWidget is ChartWidget => {
return pageLayoutWidget.type === WidgetType.GRAPH;
};