Skip to content
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

chore: [M3-7231] - Migrate Filesystem TextField Select to Autocomplete #9752

Conversation

bnussman-akamai
Copy link
Member

Description 📝

In order to fix up our TextField component, we need to not allow it to be used as a select component. This PR replaces the TextField Select in CreateDiskDrawer with a modern alternative like Autocomplete

Preview 📷

Before After
Screenshot 2023-10-03 at 5 07 18 PM Screenshot 2023-10-03 at 5 07 48 PM

How to test 🧪

  • Create a Linode
  • Go to the Linode's details page
  • Go to the Storage tab
  • Shutdown the Linode
  • Delete all of the Linode's disks
  • Click Add Disk
  • Test the Filesystem select functionality
  • Verify the POST post works and sends the correct filesystem type in the payload

@bnussman-akamai bnussman-akamai requested a review from a team as a code owner October 3, 2023 21:15
@bnussman-akamai bnussman-akamai self-assigned this Oct 3, 2023
@bnussman-akamai bnussman-akamai requested review from dwiley-akamai and coliu-akamai and removed request for a team October 3, 2023 21:15
@bnussman-akamai bnussman-akamai changed the title chore: Migrate from TextField Select to Autocomplete chore: [M3-7231] - Migrate from TextField Select to Autocomplete Oct 3, 2023
@bnussman-akamai bnussman-akamai changed the title chore: [M3-7231] - Migrate from TextField Select to Autocomplete chore: [M3-7231] - Migrate Filesystem TextField Select to Autocomplete Oct 3, 2023
Copy link
Contributor

@abailly-akamai abailly-akamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

  • look and feel - no regression ✅
  • functionality - request succeeded and UI updated ✅

Copy link
Contributor

@jdamore-linode jdamore-linode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @bnussman-akamai!

Followed your testing steps and everything looked good! Confirmed that the storage e2e tests continue to pass (I'm not sure the "Add a Disk" drawer has any coverage so that was probably unnecessary), and also reviewed the CI test results -- 3 of the failures were DBaaS, and the other was a test which has been flaky lately (and which I confirmed is passing locally) so those failures can be disregarded when it comes time to merge.

Copy link
Contributor

@coliu-akamai coliu-akamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Walked through the listed steps +

✅ Confirmed that post request was sent
✅ confirmed that UI is updated with autocomplete (+ looks and feels a lot cleaner!)

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants