Skip to content

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
Screenshot_2023-02-02_at_13.19.24 Screenshot_2023-02-02_at_13.20.48

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Navigate to a project with no environments (for example http://gdk.test:3000/gitlab-org/artifacts)
  2. you should not see an anchor with environments
  3. Navigate to environments page (for example http://gdk.test:3000/gitlab-org/artifacts/-/environments)
  4. Create an environment following the instructions on the page
  5. Return to project's home page (for example http://gdk.test:3000/gitlab-org/artifacts) and check the environments anchor is present
  6. Return to environments page (for example http://gdk.test:3000/gitlab-org/artifacts/-/environments)
  7. Stop the environment you've created
  8. 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.

Merge request reports

Loading