Make repository analytics graphs responsive
What does this MR do and why?
For #362647 (closed)
This MR makes the graphs on the project-level and group-level repository analytics pages respond to changes in viewport width by passing the responsive
attribute to them.
Screenshots or screen recordings
before | after | |
---|---|---|
project | Screen_Recording_2022-07-26_at_21.18.33 | Screen_Recording_2022-07-26_at_21.02.38 |
group | Screen_Recording_2022-07-26_at_21.21.39 | Screen_Recording_2022-07-26_at_21.03.52 |
How to set up and validate locally
Project-level:
-
git checkout master
and navigate to a project - in the sidebar, choose
Analytics
=>Repository
- resize the browser, observe that the graphs are not responsive
🐛 git checkout 362647-resizeable-repo-analytics-graphs
- refresh, resize the browser, now the graphs should be responsive
✨
Group-level:
- have a GitLab Premium licence
-
git checkout master
and navigate to a group - repeat
2.
-5.
from the project-level instructions
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.
Edited by Miranda Fluharty