This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch viz-gallery-tag-reduction
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/viz-gallery-tag-reduction by
this push:
new 2bceba783c chord
2bceba783c is described below
commit 2bceba783cd88d52ec142c4f126dbdff476f8474
Author: Evan Rusackas <[email protected]>
AuthorDate: Fri Jul 12 14:02:48 2024 -0600
chord
---
.../plugins/legacy-plugin-chart-calendar/src/index.js | 1 +
superset-frontend/plugins/legacy-plugin-chart-chord/src/index.js | 9 +++++++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git
a/superset-frontend/plugins/legacy-plugin-chart-calendar/src/index.js
b/superset-frontend/plugins/legacy-plugin-chart-calendar/src/index.js
index 392066b2a5..dcf08c2acd 100644
--- a/superset-frontend/plugins/legacy-plugin-chart-calendar/src/index.js
+++ b/superset-frontend/plugins/legacy-plugin-chart-calendar/src/index.js
@@ -33,6 +33,7 @@ const metadata = new ChartMetadata({
tags: [
Tags.ConditionalColoring, // I would consider a heatmap to be conditional
coloring by default.
Tags.Legacy,
+ Tags.DrillToDetail,
// Library is https://cal-heatmap.com, which is unique, so we won't tag it.
// Tags.CrossFiltering // This receives cross-filters, but does not emit
them.
],
diff --git a/superset-frontend/plugins/legacy-plugin-chart-chord/src/index.js
b/superset-frontend/plugins/legacy-plugin-chart-chord/src/index.js
index d159ab92e3..843e88d74e 100644
--- a/superset-frontend/plugins/legacy-plugin-chart-chord/src/index.js
+++ b/superset-frontend/plugins/legacy-plugin-chart-chord/src/index.js
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
+import { t, ChartMetadata, ChartPlugin, Tags } from '@superset-ui/core';
import transformProps from './transformProps';
import example from './images/chord.jpg';
import thumbnail from './images/thumbnail.png';
@@ -32,7 +32,12 @@ const metadata = new ChartMetadata({
{ url: example, caption: t('Relationships between community channels') },
],
name: t('Chord Diagram'),
- tags: [t('Circular'), t('Legacy'), t('Proportional'), t('Relational')],
+ tags: [
+ Tags.Legacy,
+ Tags.D3,
+ Tags.DrillToDetail,
+ // Tags.CrossFiltering // This receives cross-filters, but does not emit
them.
+ ],
thumbnail,
useLegacyApi: true,
});