Skip to content

IM-258 added a datasetRegistry and refactored setStyle#285

Merged
markfee merged 26 commits into
IM-224-reviewedfrom
IM-258
May 19, 2026
Merged

IM-258 added a datasetRegistry and refactored setStyle#285
markfee merged 26 commits into
IM-224-reviewedfrom
IM-258

Conversation

@markfee
Copy link
Copy Markdown
Collaborator

@markfee markfee commented May 19, 2026

No description provided.

@markfee markfee changed the base branch from main to IM-224-reviewed May 19, 2026 11:33
Comment thread plugins/beta/datasets/src/adapters/maplibre/maplibreLayerAdapter.js
Comment thread plugins/beta/datasets/src/panels/Layers.jsx
Comment thread plugins/beta/datasets/src/registry/datasetRegistry.js
Comment thread plugins/beta/datasets/src/registry/datasetRegistry.js
Comment thread plugins/beta/datasets/src/reducer.js
@markfee markfee merged commit 4ed6ff8 into IM-224-reviewed May 19, 2026
1 check failed
@markfee markfee deleted the IM-258 branch May 19, 2026 12:59
markfee added a commit that referenced this pull request May 19, 2026
* IM-258 added globals to dataset state

* IM-258 added a datasetRegistry

* IM-258 stopped flattening styles in mappedDatasets

* IM-258 fixed tests in datasets

* IM-258 added a dataset class and tests

* IM-258 added createDataset factory methods, and a mapLibreSpecific Dataset

* IM-258 added layerIds and tests to MapLibreDataset

* IM-258 mapLibreDataset.test.js avoids mocking

* IM-258 refactored tests and ensured layerIds are not null

* IM-258 addLayers/subLayers refactored to use dataset registry

* IM-258 added source and sourceId to mapLibreDataset

* IM-258 setLayerAdapterActions can take a method name as param

* IM-258 ensured setLayerAdapterActions setStyle is only called once per api call

* IM-258 fixed _maintainSymbolOrdering, temp rennamed dataset as registryDataset

* IM-258 further simplification

* IM-258 setSublayerStyle works from the api

* IM-258 addSymbolLayer refactored

* IM-258 simplified addSymbolLayer

* IM-258 simplified addFillLayer

* IM-258 simplified addStrokeLayer

* IM-258 fixed issue where addStrokeLayer called on a symbol

* IM-258 removed unused params from addSublayerLayers

* IM-258 removed setSubLayerStyle altogether

* IM-258 setSublayerStyle removed from maplibreLayerAdapter

* IM-258 removed commented out addSource

* IM-258 skipped tests while WIP
markfee added a commit that referenced this pull request May 20, 2026
* IM-258 added globals to dataset state

* IM-258 added a datasetRegistry

* IM-258 stopped flattening styles in mappedDatasets

* IM-258 fixed tests in datasets

* IM-258 added a dataset class and tests

* IM-258 added createDataset factory methods, and a mapLibreSpecific Dataset

* IM-258 added layerIds and tests to MapLibreDataset

* IM-258 mapLibreDataset.test.js avoids mocking

* IM-258 refactored tests and ensured layerIds are not null

* IM-258 addLayers/subLayers refactored to use dataset registry

* IM-258 added source and sourceId to mapLibreDataset

* IM-258 setLayerAdapterActions can take a method name as param

* IM-258 ensured setLayerAdapterActions setStyle is only called once per api call

* IM-258 fixed _maintainSymbolOrdering, temp rennamed dataset as registryDataset

* IM-258 further simplification

* IM-258 setSublayerStyle works from the api

* IM-258 addSymbolLayer refactored

* IM-258 simplified addSymbolLayer

* IM-258 simplified addFillLayer

* IM-258 simplified addStrokeLayer

* IM-258 fixed issue where addStrokeLayer called on a symbol

* IM-258 removed unused params from addSublayerLayers

* IM-258 removed setSubLayerStyle altogether

* IM-258 setSublayerStyle removed from maplibreLayerAdapter

* IM-258 removed commented out addSource

* IM-258 skipped tests while WIP
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.

2 participants