ESID
ESID copied to clipboard
Refactor Settings Dialog with Confirmation Dialog
Refactor the settings dialog that is used in the goup filter editor into a component.
As a pop-up dialog for settings with a confirmation dialog on close wheter to discard changes made will be necessary in many components in ESID in the future, i.e.:
- Compartment filter editor
- District map settings
- Heat legend editor
- NPI editor
Implementation ideas:
- Component providing the main pop-up and the confirmation dialog.
- receives children as props to render.
- holds state whether children changed and passes function in props to change state (i.e. mark child components dirty/changed)