-
Notifications
You must be signed in to change notification settings - Fork 889
Use dropdowns rather than radio buttons for coder_parameter
options
#10264
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
Comments
Agreed! |
I think we should do it without changing anything in the provider and should convert any parameter with more than 4 options to a drop-down |
@matifali I think there should be an option in the provider to allow the user to choose. |
@timquinlan I agree. so it can probably work like this data "coder_paramter" "options" {
name = "options"
display_name = "Options to choose"
description = "Choose 1 option"
default = "option1"
style|type = "bullets|dropdown" # defaults to bullets to keep up the old behavior
option {
name = "foo"
value = "option1"
}
option {
name = "bar"
value = "option2"
}
...
option {
name = "bar"
value = "option10"
}
} cc: @timquinlan |
Yeah that's what we're planning on doing. No provider changes. cc @aslilac |
I thought we decided to punt on this for now |
Oh whoops you're right. We can maybe circle back around to this on the spillover week for the sprint. |
coder_parameter
options
I agree. A drop-down list with a search bar to filter options as we type would be great UX. |
I would also greatly appreciate this. I would also go so far as to suggest an optional typeahead input as we have many different VM image names that would be handy to be able to just start typing and the list would update to only those that include the substring. |
This could be a separate request to allow search through coder_parameter options. |
User feedback: Can we add something to the coder_parameter options to display the options as a dropdown menu rather than radio buttons? This would save screen space when creating workspaces from our most complex templates.
The text was updated successfully, but these errors were encountered: