Skip to content

Conversation

ddelemeny
Copy link
Collaborator

@ddelemeny ddelemeny commented Apr 9, 2024

  • Add a redux store to hold the defaults state
  • Use a HOC to provide the store to the queryEditor
  • Define overrides in ConfigEditor

Defaults overrides keys are flattened to use a deep set instead of a merge for store mutations.

Fixes #114

@ddelemeny ddelemeny requested a review from fmassot April 9, 2024 13:02
Copy link
Contributor

@fmassot fmassot left a comment

Choose a reason for hiding this comment

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

LGTM. Tested on macOS.

@ddelemeny ddelemeny merged commit 1b06e17 into main Apr 9, 2024
@ddelemeny ddelemeny deleted the ddelemeny/configurable-editor-defaults branch April 9, 2024 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants