-
Notifications
You must be signed in to change notification settings - Fork 366
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-9197] - Collapsible Node Pool tables & filterable status #11589
feat: [M3-9197] - Collapsible Node Pool tables & filterable status #11589
Conversation
<StyledActionButton | ||
compactY | ||
onClick={() => handleClickResize(poolId)} | ||
<Accordion |
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 changes were basically:
- Wrap everything in an Accordion
- Move the actions to the accordion heading
- Display kebab menu at an earlier breakpoint
- Adding
e.stopPropagation();
to the inline buttons
@@ -288,7 +288,6 @@ export const lightTheme: ThemeOptions = { | |||
}, | |||
'& svg': { | |||
fill: Color.Brand[80], | |||
stroke: Color.Brand[80], |
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.
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.
packages/manager/src/features/Kubernetes/KubernetesClusterDetail/NodePoolsDisplay/NodeTable.tsx
Outdated
Show resolved
Hide resolved
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 @hana-akamai!
This was working well and looked good at various screen sizes.
I was seeing one styling issue when testing keyboard navigation. It looks like a background color on the Box is getting inherited from Paper:
Screen.Recording.2025-02-03.at.12.28.40.PM.mov
@hana-akamai Just found something we need to account for: autoscale values when they're set, at all viewport sizes. We should avoid a regression here where this text disappears once we're rendering the action menu. Can we display the text here for now?* Screen.Recording.2025-02-03.at.2.39.49.PM.mov*(I'm currently writing an enhancement ticket (M3-9236) to improve Autoscale a little at Daniel's request and we talked about ways to improve the presentation of min/max values as potentially part of that.) |
Cloud Manager UI test results🔺 1 failing test on test run #10 ↗︎
Details
TroubleshootingUse this command to re-run the failing tests: yarn cy:run -s "cypress/e2e/core/objectStorage/object-storage.e2e.spec.ts" |
Cloud Manager E2E Run #7165
Run Properties:
|
Project |
Cloud Manager E2E
|
Branch Review |
develop
|
Run status |
Passed #7165
|
Run duration | 30m 34s |
Commit |
2590e361bd: feat: [M3-9197] - Collapsible Node Pool tables & filterable status (#11589)
|
Committer | Hana Xu |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
2
|
Pending |
2
|
Skipped |
0
|
Passing |
499
|
View all changes introduced in this branch ↗︎ |
Description 📝
Make Node Pool tables collapsible and add a Status filter
Preview 📷
Screen.Recording.2025-01-31.at.1.42.46.PM.mov
How to test 🧪
Prerequisites
(How to setup test environment)
Verification steps
(How to verify changes)
Author Checklists
As an Author, to speed up the review process, I considered 🤔
👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support
As an Author, before moving this PR from Draft to Open, I confirmed ✅