Add environments anchor to project home
What does this MR do and why?
Describe in detail what your merge request does and why.
This MR implements #349757 (closed) adding an environments anchor to the project's anchor row.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
No available Environments | With available environments |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Navigate to a project with no environments (for example http://gdk.test:3000/gitlab-org/artifacts)
- you should not see an anchor with environments
- Navigate to environments page (for example http://gdk.test:3000/gitlab-org/artifacts/-/environments)
- Create an environment following the instructions on the page
- Return to project's home page (for example http://gdk.test:3000/gitlab-org/artifacts) and check the environments anchor is present
- Return to environments page (for example http://gdk.test:3000/gitlab-org/artifacts/-/environments)
- Stop the environment you've created
- Return to project's home page (for example http://gdk.test:3000/gitlab-org/artifacts) and check the environments anchor is not present
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.