Create a Workspace from Gitlab UI
Problem Statement
Create a frontend form hooked up to dummy data that drives the creation of a Workspace. A user should be able to navigate to a new route, /new
and then select from a list of Projects, and if a valid devfile
/ GitLab
agent are available, create a workspace via a GraphQL mutation.
UX Flow
- A user navigates to their Workspace creation screen
- A user selects a project which contains a Devfile from a dropdown list (A default will automatically be selected if it is present i.e. .devfile.yaml at the root of the repository)
- Based on the project selected, a list of agents(if more than one exists) for that project group is fetched and offered in another dropdown for the user to select, otherwise the user is prompted to contact their administrator.
- The user selects the editor they want to use(select disabled for the initial version) i.e.
webide
- The default state of any created Workspace is RUNNING
- Users cannot input names for Workspaces, they will be auto-generated
Screenshots or screen recordings
Project has no devfile | Project has devfile but no Agents | Project has devfile and an Agent is available |
---|---|---|
Links
Availability and Testing
Ensure updated test coverage in unit/integration/feature tests. Modify existing or create E2E test
Edited by Julia Miocene