-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: [M3-6787] - Update LKE HA implementation #9489
Conversation
I had to hardcode one of the colors otherwise it would only work for either of the themes. I also attempted to solve the issue with styled components but the issue persisted. This seems straightforward like the text color on the SearchBar from the other ticket. Maybe @jaalah-akamai can offer some helpful insight into this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like selecting No
first adds the HA price and selecting Yes
removes the HA price.
packages/manager/src/features/Kubernetes/CreateCluster/CreateCluster.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/Kubernetes/CreateCluster/HAControlPlane.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/Kubernetes/CreateCluster/HAControlPlane.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/Kubernetes/CreateCluster/HAControlPlane.test.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/Kubernetes/CreateCluster/HAControlPlane.tsx
Outdated
Show resolved
Hide resolved
packages/manager/cypress/e2e/core/kubernetes/lke-create.spec.ts
Outdated
Show resolved
Hide resolved
packages/manager/cypress/e2e/core/kubernetes/smoke-lke-create.spec.ts
Outdated
Show resolved
Hide resolved
packages/manager/src/features/Kubernetes/CreateCluster/CreateCluster.tsx
Show resolved
Hide resolved
After discussing the LKE HA pricing variable issue, it was decided that at this time the e2e test coverage for HA Control Plane would be removed. An additional unit test was implemented to help mitigate any loss of coverage. A spike ticket will be created to investigate the |
* Delete unused files from refactor in #9489 * Add dynamic HA pricing for Kubernetes * Update unit tests * Add DC-specific HA price on upgrade dialog * Replace HA env var with pricing constant * Clean up * Added changeset: Add DC-specific pricing to Kubernetes HA * Don't display prices before region is selected * Tweak copy in Kube checkout bar * Update tests * Feature flag all changes and update tests * Update price increase percentage for Sao Paulo * Address feedback: eliminate prop and use hook * Address feedback: copy, UX for HA checkout bar
* Delete unused files from refactor in linode#9489 * Add dynamic HA pricing for Kubernetes * Update unit tests * Add DC-specific HA price on upgrade dialog * Replace HA env var with pricing constant * Clean up * Added changeset: Add DC-specific pricing to Kubernetes HA * Don't display prices before region is selected * Tweak copy in Kube checkout bar * Update tests * Feature flag all changes and update tests * Update price increase percentage for Sao Paulo * Address feedback: eliminate prop and use hook * Address feedback: copy, UX for HA checkout bar
* Delete unused files from refactor in linode#9489 * Add dynamic HA pricing for Kubernetes * Update unit tests * Add DC-specific HA price on upgrade dialog * Replace HA env var with pricing constant * Clean up * Added changeset: Add DC-specific pricing to Kubernetes HA * Don't display prices before region is selected * Tweak copy in Kube checkout bar * Update tests * Feature flag all changes and update tests * Update price increase percentage for Sao Paulo * Address feedback: eliminate prop and use hook * Address feedback: copy, UX for HA checkout bar
Description 📝
Replaces the former HA Checkbox with a Radio Group and moves the HA Control Plane away from the KubeCheckoutBar into the main content.
Major Changes 🔄
HAControlPlane
component consisting of aRadioGroup
forcing users to make an active selection for HAHACheckbox
component from theKubeCheckoutBar
component in the sidebar.Preview 📷
How to test 🧪
kubernetes/create
landing page and inspect for any UI defects.HAControlPlane
component.