Pre-load known environments in secret variable scope dropdown
Currently, the dropdown for scope in the CI/CD secret variables settings is empty except for 'All environments' option. Users can add new 'wildcard' values for the environment scope, but that's it. Also, the use of the term wildcard here can be confusing if users just want to add a specific environment to the scope.
To improve the user experience here, I suggest we treat this dropdown more like the protected branches dropdown. We can preload known environments as well as allow users to add wildcards for yet-to-exist environments. Once you do this, the 'Create wildcard' feature makes a lot more sense.
Based on the screenshot above, and how we do it for protected branches, the Scopes dropdown could say, "Select environment or create wildcard"
Zendesk (internal): https://gitlab.zendesk.com/agent/tickets/129192 - For cross-link only. There's no more pertinent info in the ZD ticket that isn't in this issue