-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
3
-
False
-
-
False
-
-
The purpose of this story is to remove the dependency of the redux-forms module in the edit load balancers and persistent storage modal. There shall be no functional or display changes to the end user. Note there may be two versions of this modal in the code base, only the multiRegion version needs to be changed.
Items included:
- Change the form handler from redux-forms to formik.
Note the form handler is at: src/components/clusters/commonMultiRegion/ScaleClusterDialog/index.js - Remove or modify child components that use formik code
- Update any related unit tests to no longer use redux-form
- Verify the form works as it does today (no functionality change).
Testing implications:
NOTE: Until OCMUI-2524 is in Review or Closed - you will need to add `?multiregion=true` to the end of the URL to turn on the multiRegion preview.
This option is only available on clusters that are managed but not CSS.
const showScale = cluster.canEdit && cluster.managed && !cluster.ccs?.enabled;
A regression test is needed to ensure that the form functions as before. This includes verifying form validation and form submission.
--------
Old Notes:
Need to investigate if this is two areas of the UI? ClusterAutoScaling .vs MP scaling?
Migrate to Formik:
- src/components/clusters/common/EditClusterAutoScalingDialog
- src/components/clusters/common/ScaleClusterDialog
- is depended on by
-
OCMUI-2711 Remove redux-form from files - final review
- To Do
-
OCMUI-2720 Remove redux-forms library from the code base
- To Do