-
Notifications
You must be signed in to change notification settings - Fork 332
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
fix: [M3-7864] - Make the ACL (Object storage) select field carat (^) symbol consist with other select fields in the CM. #10286
Conversation
β¦ symbol consist with other select fields in the CM.
β¦ symbol consist with other select fields in the CM.
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/ObjectStorage/BucketDetail/AccessSelect.tsx
Outdated
Show resolved
Hide resolved
@bnussman-akamai Addressed this issue in882d90e |
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.
Nice clean up -- one fewer legacy select component! π
Unit tests need to be fixed! |
Coverage Report: β
|
packages/manager/src/features/ObjectStorage/BucketDetail/AccessSelect.test.tsx
Outdated
Show resolved
Hide resolved
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.
It looks like we've lost some loading state, in defaulting to Private
. It's impossible to tell in dark mode because of the color of our disabled field, but visible in light.
This Branch:
ThisBranchNoLoadingState.mov
Prod:
ProdWithLoadingState.mov
packages/manager/cypress/e2e/core/objectStorage/object-storage.e2e.spec.ts
Outdated
Show resolved
Hide resolved
β¦.e2e.spec.ts Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
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 fix - confirmed the loading state is back for ACL via the Access tab and in the edit drawer. Tests are all passing.
β¦ symbol consist with other select fields in the CM. (linode#10286) * fix: [M3-7864] - Make the ACL (Object storage) select field carat (^) symbol consist with other select fields in the CM. * Added changeset: Make the ACL (Object storage) select field carat (^) symbol consist with other select fields in the CM. * Update selected value according to Autocomplete * Update broken unit test * Update AccessSelect.test.tsx * Add e2e tests to view and update Bucket access (ACL) * Update tests for AccessSelect refactor * Remove mocking * Update packages/manager/cypress/e2e/core/objectStorage/object-storage.e2e.spec.ts Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com> * Update packages/manager/.changeset/pr-10286-fixed-1710435081738.md Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com> * Show loading state for ACL select field. --------- Co-authored-by: Joe D'Amore <jdamore@linode.com> Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
How to test π§ͺ
Verification steps
(How to verify changes)
AccessSelect
references and ensure there is no regression.As an Author I have considered π€
Check all that apply