-
Notifications
You must be signed in to change notification settings - Fork 367
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
change: [M3-8346] β UI modications for LKE Details summary panel & Node Pool tables #10685
change: [M3-8346] β UI modications for LKE Details summary panel & Node Pool tables #10685
Conversation
header: JSX.Element; | ||
noBodyBottomBorder?: boolean; |
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.
/> | ||
</Grid> | ||
<Stack sx={{ marginBottom: theme.spacing(3) }}> | ||
<EntityDetail |
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.
The shift to using EntityDetail
here should be understood in the context of https://github.com/linode/manager/pull/10685/files#r1681361959. It's laying the foundation for further forthcoming LKE-E improvements
{footer !== undefined && ( | ||
<GridFooter body={body} xs={12}> | ||
{footer} | ||
</GridFooter> | ||
)} |
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.
another option is to leave footer
as required and pass a <React.Fragment />
for it in KubeSummaryPanel.tsx
, which is simpler but I would prefer not using fragments in an unintended fashion like that.
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.
LinkButtons used where I'd expect buttons
Can we make the Dashboard and Delete more like the other buttons on this page? Having them as LinkButtons feels odd because both Linodes and VPCs use buttonsAll of that feedback is non-blocking because this page has already been somewhat broken and this seems to be slightly better β
Thanks for catching the buttons, fixed that in the latest commit. For the mobile spacing, we have M3-8348 which will be pulled into the LKE-E effort. The node row hover color is like that in prod as well but I agree that it's too dark and should match other similar rows |
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.
Thanks for the improvements and prep work (+ TODO) for LKE-E changes to come. I noticed no regressions to the Linode entity details. LKE details looks good, aside from the issues that were already raised to be tackled in M3-8348. π’
Description π
Some UI improvements for the LKE Details summary panel and Node Pool tables
Note
There is an existing issue noticeable in dark mode for
LinodeEntityDetailBody
where the border above the VPC section in the Linode Detail header extends past the left bounds of the table. I created M3-8354 to track this.Changes π
Kubernetes Dashboard
andDelete Cluster
buttons<Paper />
behind the entire Node Pools section, replaced with a paper behind each Node Pool tableTarget release date ποΈ
7/22/24
Preview π·
How to test π§ͺ
Verification steps
Verify the changes described above for the LKE Details summary panel and the individual Node Pools tables.
Additionally, confirm there are no adverse impacts to the Linode Details header, since this PR made some modifications to
EntityDetail.tsx
which is used inLinodeEntityDetail.tsx
.As an Author I have considered π€