-
Notifications
You must be signed in to change notification settings - Fork 363
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
upcoming: [M3-8840] - Add Cluster Type selection to LKE Create Cluster flow #11322
base: develop
Are you sure you want to change the base?
Conversation
@@ -87,6 +88,11 @@ export interface SelectionCardProps { | |||
* Optional text to set in a tooltip when hovering over the card. | |||
*/ | |||
tooltip?: JSX.Element | string; | |||
/** |
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.
Added this prop to be able to control the placement of the tooltip - it was covering the helper text and we could avoid that by placing elsewhere.
@@ -51,11 +51,10 @@ export const StyledFieldWithDocsStack = styled(Stack, { | |||
})); | |||
|
|||
export const StyledDocsLinkContainer = styled(Box, { | |||
label: 'StyledRegionSelectStack', | |||
label: 'StyledDocsLinkContainer', |
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.
Changes to use the same styling for both the cluster type and DC pricing docs links.
@@ -191,29 +191,34 @@ export const getLatestVersion = ( | |||
* Hook to determine if the LKE-Enterprise feature should be visible to the user. | |||
* Based on the user's account capability and the feature flag. | |||
* | |||
* @returns {boolean, boolean} - Whether the LKE-Enterprise feature is enabled for the current user in LA and GA, respectively. | |||
* @returns {boolean, boolean, boolean, boolean} - Whether the LKE-Enterprise flags are enabled for LA/GA and whether feature is enabled for LA/GA (flags + account capability). |
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.
Changes were to account for the fact that the Create flow shows the Cluster Type section as long as the LD feature flag is on; it does not depend on account capability. The reason for this is to show all customers what is potentially available, even if not currently on their contract.
Coverage Report: ✅ |
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.
I think we'll need to explicitly clear the HA values when LKE Enterprise is selected
Cloud Manager UI test results🔺 3 failing tests on test run #6 ↗︎
Details
TroubleshootingUse this command to re-run the failing tests: yarn cy:run -s "cypress/e2e/core/images/machine-image-upload.spec.ts,cypress/e2e/core/images/machine-image-upload.spec.ts,cypress/e2e/core/images/machine-image-upload.spec.ts" |
Description 📝
We want to allow users the ability to create an LKE-Enterprise cluster in the create flow.
Changes 🔄
Preview 📷
How to test 🧪
Prerequisites
(How to setup test environment)
Verification steps
(How to verify changes)
As an Author, I have considered 🤔
As an Author, before moving this PR from Draft to Open, I confirmed ✅