Kubernetes UI updates
What does this MR do and why?
This MR removes duplicative buttons on the /clusters
page and lowercases the agent
for consistency. As part of the MR I've also made some clean-up.
The changes:
-
On the All tab, remove the
Install a new agent
button, per this issue/comment. -
On the All tab, remove the
Connect existing cluster
button -
On the Agent tab, remove the
Connect with the GitLab Agent
button (it's a duplicate of the button on the top right and likely not controlled by the feature flag) -
On the Certificate tab, remove the
Connect existing cluster
button -
Clean-up of the
GlEmptyState
for the agent's and certificate's empty states. Together with the clean-up I removed the related CSS and changed thedescription
slot totitle
. Using thedescription
slot led to creating an emptyh1
tag, while thetitle
slot produces more clean and meaningful HTML. -
Lowercase all instances of the
Agent
string:- on the empty state
- in the
Recommended
tooltip:
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Visit Infrastructure -> Kubernetes clusters page.
- View the different tabs.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Review progress:
-
UX review -
UI text review -
QA review -
test Quality review -
frontend developer review -
frontend maintainer review
Related to #357028 (closed) and #355682 (closed)