From 53daa1b13f2467d58df07fe2ce944dfff1129ff7 Mon Sep 17 00:00:00 2001 From: Antonio Rivero <38889534+Antonio-RiveroMartnez@users.noreply.github.com> Date: Tue, 6 Feb 2024 12:34:47 +0100 Subject: [PATCH] chore(plugins): Description, Category and Tags for BigNumber with Period Time Comparison plugin (#27021) Co-authored-by: yousoph --- .../src/plugin/index.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/superset-frontend/plugins/plugin-chart-period-over-period-kpi/src/plugin/index.ts b/superset-frontend/plugins/plugin-chart-period-over-period-kpi/src/plugin/index.ts index 2ea1b94bdb..39ce12aa3c 100644 --- a/superset-frontend/plugins/plugin-chart-period-over-period-kpi/src/plugin/index.ts +++ b/superset-frontend/plugins/plugin-chart-period-over-period-kpi/src/plugin/index.ts @@ -35,8 +35,17 @@ export default class PopKPIPlugin extends ChartPlugin { */ constructor() { const metadata = new ChartMetadata({ - description: 'KPI viz for comparing multiple period', + category: t('KPI'), + description: + 'Showcases a metric along with a comparison of value, change, and percent change for a selected time period.', name: t('Big Number with Time Period Comparison'), + tags: [ + t('Comparison'), + t('Business'), + t('Percentages'), + t('Report'), + t('Description'), + ], thumbnail, });