Skip to content

Commit

Permalink
feat(viz picker): Remove some tags, refactor Recommended section (apa…
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje authored and qleroy committed Apr 28, 2024
1 parent f5c128e commit 2742103
Show file tree
Hide file tree
Showing 39 changed files with 58 additions and 101 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,7 @@ const metadata = new ChartMetadata({
{ url: example, caption: t('Relationships between community channels') },
],
name: t('Chord Diagram'),
tags: [
t('Aesthetic'),
t('Circular'),
t('Legacy'),
t('Proportional'),
t('Relational'),
],
tags: [t('Circular'), t('Legacy'), t('Proportional'), t('Relational')],
thumbnail,
useLegacyApi: true,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const metadata = new ChartMetadata({
),
exampleGallery: [{ url: example1 }, { url: example2 }],
name: t('Parallel Coordinates'),
tags: [t('Coordinates'), t('Directional'), t('Legacy'), t('Relational')],
tags: [t('Directional'), t('Legacy'), t('Relational')],
thumbnail,
useLegacyApi: true,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const metadata = new ChartMetadata({
name: t('World Map'),
tags: [
t('2D'),
t('Aesthetic'),
t('Comparison'),
t('Intensity'),
t('Legacy'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const metadata = new ChartMetadata({
name: t('deck.gl Contour'),
thumbnail,
useLegacyApi: true,
tags: [t('deckGL'), t('Spatial'), t('Comparison'), t('Experimental')],
tags: [t('deckGL'), t('Spatial'), t('Comparison')],
});

export default class ContourChartPlugin extends ChartPlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const metadata = new ChartMetadata({
name: t('deck.gl Geojson'),
thumbnail,
useLegacyApi: true,
tags: [t('deckGL'), t('2D'), t('Aesthetic')],
tags: [t('deckGL'), t('2D')],
});

export default class GeojsonChartPlugin extends ChartPlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const metadata = new ChartMetadata({
thumbnail,
exampleGallery: [{ url: example }],
useLegacyApi: true,
tags: [t('deckGL'), t('3D'), t('Comparison'), t('Experimental')],
tags: [t('deckGL'), t('3D'), t('Comparison')],
});

export default class GridChartPlugin extends ChartPlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const metadata = new ChartMetadata({
name: t('deck.gl Heatmap'),
thumbnail,
useLegacyApi: true,
tags: [t('deckGL'), t('Spatial'), t('Comparison'), t('Experimental')],
tags: [t('deckGL'), t('Spatial'), t('Comparison')],
});

export default class HeatmapChartPlugin extends ChartPlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const metadata = new ChartMetadata({
name: t('deck.gl 3D Hexagon'),
thumbnail,
useLegacyApi: true,
tags: [t('deckGL'), t('3D'), t('Geo'), t('Comparison'), t('Experimental')],
tags: [t('deckGL'), t('3D'), t('Geo'), t('Comparison')],
});

export default class HexChartPlugin extends ChartPlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,7 @@ const metadata = new ChartMetadata({
thumbnail,
exampleGallery: [{ url: example }],
useLegacyApi: true,
tags: [
t('deckGL'),
t('3D'),
t('Multi-Dimensions'),
t('Geo'),
t('Experimental'),
],
tags: [t('deckGL'), t('3D'), t('Multi-Dimensions'), t('Geo')],
});

export default class PolygonChartPlugin extends ChartPlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,7 @@ const metadata = new ChartMetadata({
thumbnail,
exampleGallery: [{ url: example }],
useLegacyApi: true,
tags: [
t('deckGL'),
t('Comparison'),
t('Intensity'),
t('Experimental'),
t('Density'),
],
tags: [t('deckGL'), t('Comparison'), t('Intensity'), t('Density')],
});

export default class ScreengridChartPlugin extends ChartPlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ const metadata = new ChartMetadata({
name: t('Area Chart (legacy)'),
supportedAnnotationTypes: [ANNOTATION_TYPES.INTERVAL, ANNOTATION_TYPES.EVENT],
tags: [
t('Aesthetic'),
t('Comparison'),
t('Continuous'),
t('Legacy'),
Expand All @@ -53,7 +52,6 @@ const metadata = new ChartMetadata({
t('Time'),
t('Trend'),
t('nvd3'),
t('Deprecated'),
],
thumbnail,
useLegacyApi: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,11 @@ const metadata = new ChartMetadata({
t('Time'),
t('Trend'),
t('Stacked'),
t('Vertical'),
t('Percentages'),
t('Proportional'),
t('Advanced-Analytics'),
t('nvd3'),
t('Legacy'),
t('Deprecated'),
],
thumbnail,
useLegacyApi: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,12 @@ const metadata = new ChartMetadata({
name: t('Bubble Chart (legacy)'),
tags: [
t('Multi-Dimensions'),
t('Aesthetic'),
t('Comparison'),
t('Legacy'),
t('Scatter'),
t('Time'),
t('Trend'),
t('nvd3'),
t('Deprecated'),
],
thumbnail,
useLegacyApi: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,10 @@ const metadata = new ChartMetadata({
t('Bar'),
t('Categorical'),
t('Comparison'),
t('Discrete'),
t('Legacy'),
t('Percentages'),
t('Popular'),
t('Stacked'),
t('Vertical'),
t('nvd3'),
t('Deprecated'),
],
thumbnail,
useLegacyApi: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const metadata = new ChartMetadata({
ANNOTATION_TYPES.EVENT,
ANNOTATION_TYPES.FORMULA,
],
tags: [t('Aesthetic'), t('Legacy'), t('nvd3'), t('Deprecated')],
tags: [t('Legacy'), t('nvd3')],
thumbnail,
useLegacyApi: true,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const metadata = new ChartMetadata({
name: t('Pie Chart (legacy)'),
thumbnail,
useLegacyApi: true,
tags: [t('Legacy'), t('nvd3'), t('Deprecated')],
tags: [t('Legacy'), t('nvd3')],
});

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export default class PopKPIPlugin extends ChartPlugin {
t('Business'),
t('Percentages'),
t('Report'),
t('Description'),
t('Advanced-Analytics'),
],
thumbnail,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ const metadata = {
t('Percentages'),
t('Popular'),
t('Report'),
t('Description'),
],
thumbnail,
behaviors: [Behavior.DrillToDetail],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ const metadata = {
t('Percentages'),
t('Popular'),
t('Report'),
t('Description'),
t('Trend'),
],
thumbnail,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export default class EchartsBubbleChartPlugin extends ChartPlugin<
name: t('Bubble Chart'),
tags: [
t('Multi-Dimensions'),
t('Aesthetic'),
t('Comparison'),
t('Scatter'),
t('Time'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export default class EchartsGraphChartPlugin extends EchartsChartPlugin {
exampleGallery: [{ url: example }],
name: t('Graph Chart'),
tags: [
t('Aesthetic'),
t('Circular'),
t('Comparison'),
t('Directional'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ export default class EchartsTimeseriesChartPlugin extends EchartsChartPlugin<
thumbnail,
tags: [
t('Advanced-Analytics'),
t('Aesthetic'),
t('ECharts'),
t('Experimental'),
t('Line'),
t('Multi-Variables'),
t('Time'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export default class EchartsPieChartPlugin extends EchartsChartPlugin<
],
name: t('Pie Chart'),
tags: [
t('Aesthetic'),
t('Categorical'),
t('Circular'),
t('Comparison'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export default class EchartsRadarChartPlugin extends EchartsChartPlugin<
tags: [
t('Business'),
t('Comparison'),
t('Coordinates'),
t('Multi-Variables'),
t('Report'),
t('Web'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,7 @@ export default class EchartsSunburstChartPlugin extends EchartsChartPlugin {
),
exampleGallery: [{ url: example1 }, { url: example2 }],
name: t('Sunburst Chart'),
tags: [
t('ECharts'),
t('Aesthetic'),
t('Multi-Levels'),
t('Proportional'),
],
tags: [t('ECharts'), t('Multi-Levels'), t('Proportional')],
thumbnail,
},
transformProps,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ export default class EchartsAreaChartPlugin extends EchartsChartPlugin<
t('ECharts'),
t('Predictive'),
t('Advanced-Analytics'),
t('Aesthetic'),
t('Time'),
t('Line'),
t('Transformable'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,9 @@ export default class EchartsTimeseriesBarChartPlugin extends EchartsChartPlugin<
t('ECharts'),
t('Predictive'),
t('Advanced-Analytics'),
t('Aesthetic'),
t('Time'),
t('Transformable'),
t('Stacked'),
t('Vertical'),
t('Bar'),
t('Popular'),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export default class EchartsTimeseriesLineChartPlugin extends EchartsChartPlugin
t('ECharts'),
t('Predictive'),
t('Advanced-Analytics'),
t('Aesthetic'),
t('Line'),
t('Popular'),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export default class EchartsTimeseriesScatterChartPlugin extends EchartsChartPlu
t('ECharts'),
t('Predictive'),
t('Advanced-Analytics'),
t('Aesthetic'),
t('Time'),
t('Transformable'),
t('Scatter'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export default class EchartsTimeseriesSmoothLineChartPlugin extends EchartsChart
t('ECharts'),
t('Predictive'),
t('Advanced-Analytics'),
t('Aesthetic'),
t('Time'),
t('Line'),
t('Transformable'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export default class EchartsTimeseriesStepChartPlugin extends EchartsChartPlugin
t('ECharts'),
t('Predictive'),
t('Advanced-Analytics'),
t('Aesthetic'),
t('Time'),
t('Transformable'),
t('Stacked'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export default class EchartsTimeseriesChartPlugin extends EchartsChartPlugin<
name: t('Generic Chart'),
tags: [
t('Advanced-Analytics'),
t('Aesthetic'),
t('Line'),
t('Predictive'),
t('Time'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export default class EchartsTreemapChartPlugin extends EchartsChartPlugin<
exampleGallery: [{ url: example1 }, { url: example2 }],
name: t('Treemap'),
tags: [
t('Aesthetic'),
t('Categorical'),
t('Comparison'),
t('ECharts'),
Expand Down
1 change: 0 additions & 1 deletion superset-frontend/plugins/plugin-chart-table/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ const metadata = new ChartMetadata({
t('Report'),
t('Sequential'),
t('Tabular'),
t('Description'),
],
thumbnail,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,7 @@ const metadata = new ChartMetadata({
),
exampleGallery: [{ url: example1 }, { url: example2 }],
name: t('Word Cloud'),
tags: [
t('Aesthetic'),
t('Categorical'),
t('Comparison'),
t('Description'),
t('Density'),
t('Single Metric'),
],
tags: [t('Categorical'), t('Comparison'), t('Density'), t('Single Metric')],
thumbnail,
});

Expand Down
4 changes: 2 additions & 2 deletions superset-frontend/src/assets/images/icons/ballot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions superset-frontend/src/assets/images/icons/category.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions superset-frontend/src/assets/images/icons/tags.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2742103

Please sign in to comment.