From f0d7786c6e0eb4101e672c3f8041dc524fbdad41 Mon Sep 17 00:00:00 2001 From: Emmy Leke Date: Wed, 17 Jan 2024 14:04:47 +0100 Subject: [PATCH] Add ability to configure columns in metric and chart blocks --- .../Admin/Module/Records/ColumnPicker.vue | 32 ++++++-- .../src/components/PageBlocks/ChartBase.vue | 2 + .../PageBlocks/ChartConfigurator.vue | 78 +++++++++++++++---- .../src/components/PageBlocks/MetricBase.vue | 2 + .../PageBlocks/MetricConfigurator/index.vue | 62 +++++++++++---- lib/js/src/compose/types/page-block/chart.ts | 18 ++++- lib/js/src/compose/types/page-block/metric.ts | 9 ++- .../compose/types/page-block/record-list.ts | 2 +- locale/en/corteza-webapp-compose/block.yaml | 6 +- 9 files changed, 164 insertions(+), 47 deletions(-) diff --git a/client/web/compose/src/components/Admin/Module/Records/ColumnPicker.vue b/client/web/compose/src/components/Admin/Module/Records/ColumnPicker.vue index 95b967e56f..111d4932ba 100644 --- a/client/web/compose/src/components/Admin/Module/Records/ColumnPicker.vue +++ b/client/web/compose/src/components/Admin/Module/Records/ColumnPicker.vue @@ -1,12 +1,15 @@