UX: Move GitLab Agent config to UI element
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
MR: Pending
Description
We need to explore the UX around moving away from the GitLab agent configuration file and into some UI element such as the agent administration section in Operate > Kubernetes clusters
as proposed in &11631 (comment 1871248508)
The initial field to drive this location in the UI will be max_hours_before_termination_limit
.
- See Workspaces Settings Configuration Infrastructur... (&14186) for overview and more context
- See Related Issues and MRs section in that epic for related issues and MRs
Acceptance Criteria
-
Adds new page for "Workspaces agent configuration settings" -
Ensure that the "unset" functionality is supported. -
Adds necessary GraphQL API support and tests -
Fully exercise new behavior in request
andfeature
level integration tests.
Design Requirements
Adds a new page to view/edit workspace agent configuration settings.
This new page will be accessible via a new Workspace agent configuration settings
option under the Actions
menu in the agent row of the Kubernetes cluster agents list:
"Unsetting" behavior
We also need to define how users can "unset" a setting, and let it return to the default, non-overridden value.
See this related discussion on the UX/design around this in the internal Cascading Settings meeting notes: https://docs.google.com/document/d/1_wnE_UM3snxoY0SJKn8Ol4GT1NBXHQSdmkXNToxIZv8/edit#bookmark=id.hc1dfs6o4dw