From 1c4b2aed45fdf6d5333a481cf5c475bad9c894d4 Mon Sep 17 00:00:00 2001 From: Yaozong Liu <750188453@qq.com> Date: Sat, 24 Jul 2021 17:03:22 +0800 Subject: [PATCH] chore: three charts to the correct category (#1235) --- .../plugins/legacy-plugin-chart-heatmap/src/index.js | 9 ++++++++- .../plugins/legacy-plugin-chart-map-box/src/index.js | 9 ++++++++- .../plugins/plugin-chart-word-cloud/src/plugin/index.ts | 9 ++++++++- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-plugin-chart-heatmap/src/index.js b/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-plugin-chart-heatmap/src/index.js index 10065a1c18ec5..20b1857e38621 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-plugin-chart-heatmap/src/index.js +++ b/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-plugin-chart-heatmap/src/index.js @@ -36,7 +36,14 @@ const metadata = new ChartMetadata({ { url: employment, caption: t('Employment and education') }, ], name: t('Heatmap'), - tags: [t('Business'), t('Intensity'), t('Legacy'), t('Highly-used'), t('Predictive')], + tags: [ + t('Business'), + t('Intensity'), + t('Legacy'), + t('Density'), + t('Predictive'), + t('Single Metric'), + ], thumbnail, useLegacyApi: true, }); diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-plugin-chart-map-box/src/index.js b/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-plugin-chart-map-box/src/index.js index e80ed38699e99..9d376a32bd137 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-plugin-chart-map-box/src/index.js +++ b/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-plugin-chart-map-box/src/index.js @@ -31,7 +31,14 @@ const metadata = new ChartMetadata({ { url: example2, description: t('Dark mode') }, ], name: t('MapBox'), - tags: [t('Legacy'), t('Highly-used')], + tags: [ + t('Business'), + t('Intensity'), + t('Legacy'), + t('Density'), + t('Scatter'), + t('Transformable'), + ], thumbnail, useLegacyApi: true, }); diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-word-cloud/src/plugin/index.ts b/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-word-cloud/src/plugin/index.ts index e8a80be856fc5..5e768e771cf22 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-word-cloud/src/plugin/index.ts +++ b/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-word-cloud/src/plugin/index.ts @@ -18,7 +18,14 @@ const metadata = new ChartMetadata({ ), exampleGallery: [{ url: example1 }, { url: example2 }], name: t('Word Cloud'), - tags: [t('Aesthetic'), t('Categorical'), t('Comparison'), t('Highly-used'), t('Text')], + tags: [ + t('Aesthetic'), + t('Categorical'), + t('Comparison'), + t('Description'), + t('Density'), + t('Single Metric'), + ], thumbnail, });