chore: add tags and description for viz gallery (#38)

* chore: add tags and description

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

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

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

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

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

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

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

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
This commit is contained in:
Yaozong Liu 2021-07-28 07:09:18 +08:00 committed by Yongjie Zhao
parent aae89276a3
commit 9b8524c7b1
9 changed files with 46 additions and 6 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {