Skip to content

Commit

Permalink
chore: add tags and description for viz gallery (#38)
Browse files Browse the repository at this point in the history
* chore: add tags and description

* Update packages/superset-ui-legacy-preset-chart-deckgl/src/layers/Arc/index.js

Co-authored-by: David Aaron Suddjian <[email protected]>

* Update packages/superset-ui-legacy-preset-chart-deckgl/src/layers/Hex/index.js

Co-authored-by: David Aaron Suddjian <[email protected]>

* Update packages/superset-ui-legacy-preset-chart-deckgl/src/layers/Scatter/index.js

Co-authored-by: David Aaron Suddjian <[email protected]>

* Update packages/superset-ui-legacy-preset-chart-deckgl/src/layers/Screengrid/index.js

Co-authored-by: David Aaron Suddjian <[email protected]>

Co-authored-by: David Aaron Suddjian <[email protected]>
  • Loading branch information
2 people authored and zhaoyongjie committed Nov 30, 2021
1 parent aae8927 commit 9b8524c
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ import transformProps from '../transformProps';
import controlPanel from './controlPanel';

const metadata = new ChartMetadata({
category: t('Map'),
credits: ['https://uber.github.io/deck.gl'],
description: '',
name: t('deck.gl Multiple Layers'),
thumbnail,
useLegacyApi: true,
tags: [t('Multi-Layers'), t('deckGL')],
});

export default class MultiChartPlugin extends ChartPlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@ import transformProps from '../../transformProps';
import controlPanel from './controlPanel';

const metadata = new ChartMetadata({
category: t('Map'),
credits: ['https://uber.github.io/deck.gl'],
description: '',
description:
t('Plot the distance (like flight paths) between origin and destination.'),
name: t('deck.gl Arc'),
thumbnail,
useLegacyApi: true,
tags: [t('3D'), t('Geo'), t('Relational'), t('Web'), t('deckGL')],
});

export default class ArcChartPlugin extends ChartPlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ import transformProps from '../../transformProps';
import controlPanel from './controlPanel';

const metadata = new ChartMetadata({
category: t('Map'),
credits: ['https://uber.github.io/deck.gl'],
description: '',
name: t('deck.gl Geojson'),
thumbnail,
useLegacyApi: true,
tags: [t('2D'), t('Aesthetic'), t('deckGL')],
});

export default class GeojsonChartPlugin extends ChartPlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ import transformProps from '../../transformProps';
import controlPanel from './controlPanel';

const metadata = new ChartMetadata({
category: t('Map'),
credits: ['https://uber.github.io/deck.gl'],
description: '',
name: t('deck.gl Grid'),
thumbnail,
useLegacyApi: true,
tags: [t('3D'), t('Comparison'), t('Experimental'), t('deckGL')],
});

export default class GridChartPlugin extends ChartPlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@ import transformProps from '../../transformProps';
import controlPanel from './controlPanel';

const metadata = new ChartMetadata({
category: t('Map'),
credits: ['https://uber.github.io/deck.gl'],
description: '',
description:
t('Overlays a hexagonal grid on a map, and aggregates data within the boundary of each cell.'),
name: t('deck.gl 3D Hexagon'),
thumbnail,
useLegacyApi: true,
tags: [t('3D'), t('Comparison'), t('Experimental'), t('Geo'), t('deckGL')],
});

export default class HexChartPlugin extends ChartPlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ import transformProps from '../../transformProps';
import controlPanel from './controlPanel';

const metadata = new ChartMetadata({
category: t('Map'),
credits: ['https://uber.github.io/deck.gl'],
description: '',
name: t('deck.gl Path'),
thumbnail,
useLegacyApi: true,
tags: [t('Web'), t('deckGL')],
});

export default class PathChartPlugin extends ChartPlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,19 @@ import transformProps from '../../transformProps';
import controlPanel from './controlPanel';

const metadata = new ChartMetadata({
category: t('Map'),
credits: ['https://uber.github.io/deck.gl'],
description: '',
name: t('deck.gl Polygon'),
thumbnail,
useLegacyApi: true,
tags: [
t('3D'),
t('Experimental'),
t('Geo'),
t('Multi-Dimensions'),
t('deckGL'),
],
});

export default class PolygonChartPlugin extends ChartPlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,22 @@ import transformProps from '../../transformProps';
import controlPanel from './controlPanel';

const metadata = new ChartMetadata({
category: t('Map'),
credits: ['https://uber.github.io/deck.gl'],
description: '',
description:
t('A map that takes rendering circles with a variable radius at latitude/longitude coordinates'),
name: t('deck.gl Scatterplot'),
thumbnail,
useLegacyApi: true,
tags: [t('Highly-used')],
tags: [
t('2D'),
t('Comparison'),
t('Geo'),
t('Intensity'),
t('Density'),
t('Scatter'),
t('deckGL'),
],
});

export default class ScatterChartPlugin extends ChartPlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,20 @@ import transformProps from '../../transformProps';
import controlPanel from './controlPanel';

const metadata = new ChartMetadata({
category: t('Map'),
credits: ['https://uber.github.io/deck.gl'],
description: '',
description:
t('Aggregates data within the boundary of grid cells and maps the aggregated values to a dynamic color scale'),
name: t('deck.gl Screen Grid'),
thumbnail,
useLegacyApi: true,
tags: [t('Highly-used')],
tags: [
t('Comparison'),
t('Experimental'),
t('Intensity'),
t('Density'),
t('deckGL'),
],
});

export default class ScreengridChartPlugin extends ChartPlugin {
Expand Down

0 comments on commit 9b8524c

Please sign in to comment.