Refactor Pods Logs to Vue (Operation -> Environment -> Logs)
Summary
Logs page is currently written in haml and jQuery and should be refactored to Vue (Operation -> Environment -> Logs)
Improvements
- It will enable us to use GitLab UI dropdowns to support a large number of envs #33017 (closed).
- It will enable use of Logs component that will be done in #31162 (closed)
- This page will receive some improvements moving forward, like search and aggregation, so a more scalable solution will be efficient.
- Logging Aggregation: #3711 (closed)
Risks
- Some bookmarking is needed.
Involved components
- https://gitlab.com/gitlab-org/gitlab/blob/master/ee/app/assets/javascripts/kubernetes_logs.js
- https://gitlab.com/gitlab-org/gitlab/blob/master/ee/app/views/projects/environments/logs.html.haml
Existing Vue component we could use
Optional: Missing test coverage
- Removal of static fixture at https://gitlab.com/gitlab-org/gitlab/blob/master/spec/frontend/fixtures/static/environments_logs.html
Edited by Miguel Rincon