Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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-8588] - Fix
value
selection issue inImageSelect
#11007fix: [M3-8588] - Fix
value
selection issue inImageSelect
#11007Changes from 2 commits
ff2efe2
410c96a
313f797
be3bd07
ee99298
52fcf47
f71ec73
e027133
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
I wonder if we could use
ImageSelectv2
here instead. This ImageSelect has some serious type safety issues and hackynessThere 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.
@bnussman-akamai I agree with your concerns about the type safety issues and the hackyness feeling. I gave
ImageSelectv2
a try and it appears that with some minor changes it should work within theCreateDiskDrawer
.The one issue I noticed is the way the options are grouped. In the current
ImageSelect
, one the three categories is the recommended 64-bit distributions. In theImageSelectv2
, they are grouped by vendor. Would require some conditional logic to determine with grouping function to use.ImageSelect
ImageSelectv2
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.
Ah good point. That would require some UX / product consideration
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.
@bnussman-akamai To keep the work within the scope of this ticket, I'll create a separate ticket for UX to consider the grouping logic and see if it would make sense to further replace the original
ImageSelect
with theImageSelectv2
component. Could please review and approve this for now. Thanks.