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

UI/drop down list box work #2713

Merged
merged 5 commits into from
Apr 10, 2024
Merged

UI/drop down list box work #2713

merged 5 commits into from
Apr 10, 2024

Conversation

softwarenerd
Copy link
Contributor

@softwarenerd softwarenerd commented Apr 9, 2024

Intent

This PR adds the ability to display a custom component for drop down list box items. It also updates new project wizard so that it draws a custom drop down list box item called PythonInterpreterEntry for selecting the Python interpreter.

image

Approach

DropDownListBox and DropDownListBoxEntry are now generic types so that it is possible to supply custom identifiers and values for drop down list box entries. Additionally, DropDownListBox now has a factory function called createItem that is called to display a custom component for drop down list box items.

QA Notes

None.

@softwarenerd softwarenerd requested a review from sharon-wang April 9, 2024 17:58
Copy link
Member

@sharon-wang sharon-wang left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for adding the owner draw Dropdown items and some nice refactors 🙌

Just one ignore-able comment :)

@softwarenerd softwarenerd merged commit 98b652e into main Apr 10, 2024
1 check passed
@softwarenerd softwarenerd deleted the ui/drop-down-list-box-work branch April 10, 2024 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants