Fix Non-Obvious UI for Creating Stand-Alone Variable Scopes

Proposal

Original post 2019-11-06: #26463 (comment 515598014) (updated in the below paragraphs)

Another customer was requiring walking through of how to create a scope.

I believe the UX needs work in that the Environment drop down initially appears to be exclusively a search and select control. You have to type over text that says "Search environments" - then and only then does the text you typed appear at the bottom of the list as a new option "Create typedtext".

I think this is "overly contextual sensitive" functionality that makes it very hard to discover that this dialog is for creating variable scopes as well.

It is even harder to understand this dialog can "create environment scopes" when there are NO existing environment scopes and no dedicated GUI to creating environments when not using Kubernetes (that I know of).

In any case this is the only place to create variable scopes when no other aspect of environments is in use. This can be a useful mechanism as seen here: https://gitlab.com/guided-explorations/config-data-top-scope/config-data-subscope/config-data-monorepo

I feel that this drop down should always display "Create New Scope" - if selected, it may need to prompt for the name.

Screen_Shot_2019-11-06_at_12.18.04_PM

Edited by 🤖 GitLab Bot 🤖