-
Notifications
You must be signed in to change notification settings - Fork 15
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
Display cluster details by type #1456
Conversation
a6abc84
to
7156d14
Compare
@@ -34,33 +29,35 @@ export function ClusterDetailsPage() { | |||
return <div>Loading...</div>; | |||
} | |||
|
|||
const renderedNodes = cluster.details?.nodes?.map((node) => ({ |
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.
Moving this to the HanaClusterDetails
view, as it depends on the details
format, which in this case is HANA related. ASCS/ERS
clusters have other details, so better to do the enrichment specifically for each type
/> | ||
); | ||
case 'ascs_ers': | ||
return <div>ASCS/ERS</div>; |
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.
Simple placeholder by now. I will have the AscsErsClusterDetails
component next.
I just put some text that will be in the details view to have the tests working fine
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.
Cool! Great job!
Description
Enable the display of ASCS/ERS clusters. I have renamed the
ClusterDetails
toHanaClusterDetails
, as later on (next PR XD), we will have aAscsErsClusterDetails
.PD: Don't try to run this as it is. The backend part is in the
deregistration
branch 😅As we have many changes in the frontend, I preferred to continue with this work in
main
, but simply rebasingderegistration
to main enables everythingHow was this tested?
Tests added