From 6c30e358c57b779f5851bd0eff7d7b6cb1c4f59a Mon Sep 17 00:00:00 2001 From: Spencer Stolworthy Date: Tue, 17 Nov 2020 08:45:57 -0700 Subject: [PATCH] Multiple hosting ui improvements (#364) * add date to config json to avoid caching * fixed syntax error on qs * added ReadyCheck component, refactored the required fields warning to use ReadyCheck * ready check functioning as expected. can add HE after launch * removed delete * updated tests Co-authored-by: Spencer Dean Stolworthy --- factory.pub | 2 + .../__snapshots__/data_cards.spec.tsx.snap | 90 ++- .../openshift_cluster_card.tsx | 60 +- ...openshift_cluster_edit_modal.spec.tsx.snap | 540 +++++++++++++++++- .../openshift_cluster_edit_modal.spec.tsx | 36 +- .../openshift_cluster_edit_modal.tsx | 4 +- .../cloud_provider_region.tsx | 3 +- .../engagement_form_fields/cluster_size.tsx | 2 +- .../engagement_form_fields/oc_version.tsx | 4 +- .../persistent_storage.tsx | 4 +- .../engagement_form_fields/subdomain.tsx | 2 +- src/components/ready_check/ready_check.tsx | 32 ++ .../required_fields_warning.tsx | 53 +- 13 files changed, 727 insertions(+), 105 deletions(-) create mode 100644 factory.pub create mode 100644 src/components/ready_check/ready_check.tsx diff --git a/factory.pub b/factory.pub new file mode 100644 index 000000000..4c6989d04 --- /dev/null +++ b/factory.pub @@ -0,0 +1,2 @@ +untrusted comment: GrapheneOS factory images public key +RWQZW9NItOuQYJ86EooQBxScfclrWiieJtAO9GpnfEjKbCO/3FriLGX3 diff --git a/src/components/engagement_data_cards/__tests__/__snapshots__/data_cards.spec.tsx.snap b/src/components/engagement_data_cards/__tests__/__snapshots__/data_cards.spec.tsx.snap index 38607151f..add869453 100644 --- a/src/components/engagement_data_cards/__tests__/__snapshots__/data_cards.spec.tsx.snap +++ b/src/components/engagement_data_cards/__tests__/__snapshots__/data_cards.spec.tsx.snap @@ -582,8 +582,13 @@ Object { > + @@ -591,7 +596,7 @@ Object { @@ -599,7 +604,7 @@ Object { @@ -607,7 +612,7 @@ Object { @@ -615,7 +620,7 @@ Object { @@ -635,34 +640,54 @@ Object { + + + name Openshift Container Platform 4.4 AWS @@ -716,8 +741,13 @@ Object { > + @@ -725,7 +755,7 @@ Object { @@ -733,7 +763,7 @@ Object { @@ -741,7 +771,7 @@ Object { @@ -749,7 +779,7 @@ Object { @@ -769,34 +799,54 @@ Object { + + + name Openshift Container Platform 4.4 AWS @@ -885,7 +935,7 @@ Object { Points of Contact    +