GitLab page container for Insights graphs, resolve potential conflicts with legacy charts.js dependency
We will most likely have a sub menu item for insights at the project and group level where the graphs are enabled.
Goal
- Identify easiest path way to render charts inside GitLab
- Create a new space under projects named
insights - All navigation to sub graphs at the project level happens under
https://gitlab.com/<project>/insights - Resolve dependency with current older version of charts.js
Plan
-
Replace old
charts.jswith newgitlab-uicharts Right now we have a couple of places in GL (If i remember correctly ~5, but will collect them asap here also) were a really oldchart.jsis used. So we can't upgrade to the newer version ofcharts.jsthatgitlab-insightsis using. The idea is to replace first those instances with the newgitlab-uicharts (as those are the long term solution) -
Bring in the current gitlab-insights with new charts.js
So then we should be able to move forward and bring in your existing code and add the new
charts.jsversion as dependency in GL. -
Replace on the long/medium run gitlab-insights charts.js charts with gitlab-ui charts
Edited by Mek Stittri
