-
Notifications
You must be signed in to change notification settings - Fork 374
refactor: [M3-8977] - Replace Autocomplete
s with Select
#12060
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
base: develop
Are you sure you want to change the base?
refactor: [M3-8977] - Replace Autocomplete
s with Select
#12060
Conversation
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.
✅ Create API Token drawer > Expiry field
✅ Create Kubernetes Cluster > Kubernetes version
✅ Firewall Rule Drawer > Protocol, Sources
✅ NodeBalancers Configuration > Protocol, Proxy Protocol, Mode
❗️ Looks like the test failures are related to these changes and are occurring locally as well
Cloud Manager UI test results🎉 567 passing tests on test run #4 ↗︎
|
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 @hkhalil-akamai! Just a couple of ESLint warnings; other than that, it looks good to me ✅
type DrawerModes, | ||
type ExtendedRole, | ||
type ExtendedRoleMap, | ||
} from '../utilities'; |
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.
Could we import these types like this: import type { DrawerModes, ExtendedRole, ExtendedRoleMap } from '../utilities';
for consistency and resolve the import order eslint warnings in this file?
Description 📝
Replaces
Autocomplete
s in favor of the simplerSelect
component in the locations identified in the ticket.Some of the instances from the ticket were skipped since those Autocompletes leverage disabling individual options or customer
renderOption
functions, which are not currently supported bySelect
. See the ticket for more details.The Autocomplete in
RegionTypeFilter
was more complex and was handled in #12018.Changes 🔄
Replace
Autocomplete
withSelect
in:Preview 📷
How to test 🧪
Verify the instances listed above continue to work as expected. Try selecting between values and submitting each form.
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 ✅