Skip to content

IM-224 - Created a datasets menu and temporary mappedDatasets state item#233

Merged
markfee merged 4 commits intoIM-224-reviewedfrom
IM-224
Apr 22, 2026
Merged

IM-224 - Created a datasets menu and temporary mappedDatasets state item#233
markfee merged 4 commits intoIM-224-reviewedfrom
IM-224

Conversation

@markfee
Copy link
Copy Markdown
Collaborator

@markfee markfee commented Apr 22, 2026

No description provided.

@markfee markfee changed the title IM-224 - Created a datasets menu and temporarty mappedDatasets state item IM-224 - Created a datasets menu and temporary mappedDatasets state item Apr 22, 2026
@@ -0,0 +1,32 @@
export const datasetsToMenu = (state) => {
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Note this is a WIP method, that works for the given example - it will be expanded upon, to work for all dataset configs.

@sonarqubecloud
Copy link
Copy Markdown

}, [isMapStyleReady, appState.mode])

useEffect(() => {
dispatch({ type: 'BUILD_MAPPED_DATASETS', payload: null })
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This is temporary - to keep them in sync until we replace datasets with mappedDatasets

@markfee markfee requested a review from dannyleech April 22, 2026 14:41
@markfee markfee merged commit df2ce97 into IM-224-reviewed Apr 22, 2026
3 checks passed
@markfee markfee deleted the IM-224 branch April 22, 2026 16:29
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