Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Chore]: Technical: Isolate deckgl-layers #1851

Merged
merged 6 commits into from Jul 11, 2022

Conversation

dariaterekhova-actionengine
Copy link
Collaborator

No description provided.

@@ -36,6 +36,7 @@ import {set, generateHashId} from 'utils/utils';

import {createIndexedDataContainer} from './table-utils/data-container-utils';
import {ExportImage} from 'reducers/ui-state-updaters';
import { VisState } from 'reducers';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove space here

const PLUGINS = [
['@babel/plugin-transform-typescript', {isTSX: true, allowDeclareFields: true}],
'@babel/plugin-transform-modules-commonjs',
'@babel/plugin-proposal-export-namespace-from',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you need this plugin?

],
"dependencies": {
"colorbrewer": "^1.5.0",
"d3-scale": "^3.2.3",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this needed?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would think you need lot os deck.gl dependencies from @deck.gl

"@mapbox/geo-viewport": "^0.4.1",
"@mapbox/vector-tile": "^1.3.1",
"@types/geojson": "^7946.0.7",
"colorbrewer": "^1.5.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is colorbrewer needed?

"@types/geojson": "^7946.0.7",
"colorbrewer": "^1.5.0",
"d3-array": "^2.8.0",
"d3-scale": "^3.2.3",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is d3-scale needed?

"d3-scale": "^3.2.3",
"global": "^4.3.0",
"keymirror": "^0.1.1",
"react-map-gl-draw": "0.14.8",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed


export {default as EnhancedHexagonLayer} from './hexagon-layer/enhanced-hexagon-layer';

export * from './layer-utils/cluster-utils';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need to export this

@@ -0,0 +1,20 @@
export {default as ThreeDBuildingLayer} from './3d-building-layer/3d-building-layer';
export * from './3d-building-layer/3d-building-utils';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need to export this

@@ -0,0 +1,20 @@
export {default as ThreeDBuildingLayer} from './3d-building-layer/3d-building-layer';
export * from './3d-building-layer/3d-building-utils';
export * from './3d-building-layer/types';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move type export to the bottom

export {default as EnhancedHexagonLayer} from './hexagon-layer/enhanced-hexagon-layer';

export * from './layer-utils/cluster-utils';
export * from './layer-utils/cpu-aggregator';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't need to export this

export * from './layer-utils/cpu-aggregator';
export * from './layer-utils/shader-utils';

export {default as EnhancedLineLayer} from './line-layer/line-layer';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move all layer exports to the top


export {default as EnhancedLineLayer} from './line-layer/line-layer';

export * from './svg-icon-layer/scatterplot-icon-layer';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't need to export this

export {default as EnhancedLineLayer} from './line-layer/line-layer';

export * from './svg-icon-layer/scatterplot-icon-layer';
export {default as SvgIconLayer} from './svg-icon-layer/svg-icon-layer';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move all layer export to the top

@dariaterekhova-actionengine dariaterekhova-actionengine force-pushed the dt/deckgl_isolation branch 3 times, most recently from fb9d5e9 to 0caaa6c Compare July 8, 2022 12:49
Signed-off-by: Daria Terekhova <daria.terekhova@actionengine.com>
Signed-off-by: Daria Terekhova <daria.terekhova@actionengine.com>
Signed-off-by: Daria Terekhova <daria.terekhova@actionengine.com>
Signed-off-by: Daria Terekhova <daria.terekhova@actionengine.com>
Signed-off-by: Daria Terekhova <daria.terekhova@actionengine.com>
Signed-off-by: Daria Terekhova <daria.terekhova@actionengine.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants