Add new link to "Pod logs" in sidebar and create empty state page when no environment is available
What does this MR do?
Currently the pod logs environment is hard to reach. This MR creates a new route to link to a default environment and adds a link to it in the sidebar.
Define a new route
Defines a new route /root/autodevops-deploy/environments/logs
that redirects to /root/autodevops-deploy/environments/<default-env>/logs
Add new menu item in the side bar
sidebar active menu | sidebar menu | empty state (note the centered text) |
---|---|---|
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
follow-up review issue created at #35401 (closed) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers
Related to #24088 (closed)
Edited by 🤖 GitLab Bot 🤖