UI: Add ENV vars to Create Workspace page
MR: Pending
Description
UI mockups requested as we want to give users the ability to specify ENV vars when creating a workspace.
Relates to: !152580
Acceptance Criteria
TODO: Fill out (required)
-
Create Workspace page has key/value inputs so user can specify ENV vars -
Labels and/or help text gives user contextual guidance -
Validation for empty states
Technical Requirements
TODO: Fill out or delete (optional) [If applicable, please list out any technical requirements for this feature/enhancement.]
Design Requirements
Open questions:
- Any formatting required?
- Are we able to validate incorrect values before form submission?
- Are the ENV vars optional?
- Can we adopt the same pattern used for CI ENV vars UI
Considerations:
- Adopting the same drawer pattern used for setting CI variables would prevent use from being able to use a drawer or modal pattern for creating workspace. This is because it's bad practice to use a drawer within a drawer.
- This approach is being explored in #442494 and is looking like a promising route for addressing user confusion around context switching by allowing a user to create a workspace without leaving a project.
Edited by Taylor Vanderhelm