Remove task-specific, details form stores from the invariable stores constant and hooks dependent on useZustandStore.
Use the hook returned by the Zustand create function to select details form store state.
Tests
Manually tested
Approaches to testing are as follows:
Validate create workflows.
Validate edit workflows.
NOTE: There is a known defect in the capture create workflow where the editor store state can be stale or draft_spec-related information reset when the entity name changes. An issue will be opened to track this defect, if one does not already exist.
Issues
The issues directly below are advanced by this PR: https://github.com/estuary/ui/issues/1088
Changes
1088
The following features are included in this PR:
Remove task-specific, details form stores from the invariable stores constant and hooks dependent on
useZustandStore
.Use the hook returned by the Zustand
create
function to select details form store state.Tests
Manually tested
Approaches to testing are as follows:
Validate create workflows.
Validate edit workflows.
NOTE: There is a known defect in the capture create workflow where the editor store state can be stale or
draft_spec
-related information reset when the entity name changes. An issue will be opened to track this defect, if one does not already exist.Automated tests
N/A
Screenshots
N/A