Skip to content

chore(site): add preset combobox to dynamic parameters page #19100

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

Conversation

ssncferreira
Copy link
Contributor

@ssncferreira ssncferreira commented Jul 30, 2025

Description

This PR updates the CreateWorkspacePageViewExperimental page to use the Combobox React component for preset selection. This aligns it with the implementation used in the standard CreateWorkspacePageView, ensuring consistency in UI behavior and component usage across both pages.

Screenshot 2025-07-30 at 13 58 23

Related to CreateWorkspacePageView changes: #19063

@ssncferreira ssncferreira marked this pull request as ready for review July 30, 2025 12:59
@ssncferreira ssncferreira requested a review from aslilac as a code owner July 30, 2025 12:59
@ssncferreira ssncferreira requested a review from jaaydenh July 30, 2025 12:59
@ssncferreira ssncferreira merged commit 96e32d6 into main Jul 30, 2025
38 checks passed
@ssncferreira ssncferreira deleted the ssncferreira/chore-site-dynamic-parameters-preset-icon-description branch July 30, 2025 17:03
@github-actions github-actions bot locked and limited conversation to collaborators Jul 30, 2025
Comment on lines +586 to +590
// "undefined" string is equivalent to using None option
// Combobox requires a value in order to correctly highlight the None option
presetOptions[index].value === "undefined"
? undefined
: presetOptions[index].value,
Copy link
Member

Choose a reason for hiding this comment

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

sorry to keep bringing up merged pull requests, but couldn't value just be ""? then it wouldn't need this special handling, as undefined gets deserialized the same as "" by the backend

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants