redhat-developer / vscode-server-connector

📦 VS Code extension to run JBoss EAP servers and Runtimes
Eclipse Public License 2.0
57 stars 26 forks source link

[API Required] Options to select hypervisors should be filtered in the dropdown based on Platform #325

Open mohitsuman opened 5 years ago

mohitsuman commented 5 years ago

This case is specific to download and running minishift from the extension.

Scenario: I think the option to specify the virtualization should be filtered out based on platform say if i m on mac, list of supported hypervisors should only be shown. Because if anything else is mentioned, it will fail the minishift runtime and then it has to be removed from the list of servers and again downloaded, which means going through the list of steps.

Adding only the required list in the dropdown will help increase the overall experience.

robstryker commented 5 years ago

WorkflowResponseItem has the notion of validResponses, a string list which can be shown in quickpicks for a given field.

Unfortunately, the create-server workflow's data object is Attribute and does not have this. This would require an API enhancement in rsp-server. We can look into it.