stable

Clone or download

Read-only

Migrate disk usage pie chart to d3

part of request #12097 Migrate the last pie chart to d3 This patch migrates the disk usage pie chart in project admin > data > disk usage. How to test: - Go to project_admin > data > disk usage --> A beautiful d3 pie chart is displayed if some data are diosplayable. --> An information message is displayed instead - Go to site-admin > administation --> The users and projects pie charts are still properly displayed Change-Id: I11c3ec3f41f309fc6377f3e76775a3e93c36a9d7

Modified Files

Name
M plugins/statistics/build-manifest.json +4 −1 Go to diff View file
A plugins/statistics/include/DiskUsagePie/DiskUsagePieDisplayer.php +100 −0 Go to diff View file
A plugins/statistics/include/DiskUsagePie/DiskUsagePieMountPointPresenter.php +50 −0 Go to diff View file
M plugins/statistics/include/Statistics_DiskUsageGraph.class.php +3 −25 Go to diff View file
M plugins/statistics/include/autoload.php +4 −2 Go to diff View file
M plugins/statistics/include/statisticsPlugin.class.php +3 −1 Go to diff View file
A plugins/statistics/site-content/fr_FR/LC_MESSAGES/tuleap-statistics.po +20 −0 Go to diff View file
A plugins/statistics/site-content/tuleap-statistics.pot +5 −0 Go to diff View file
A plugins/statistics/templates/disk-usage-pie-mount-point.mustache +3 −0 Go to diff View file
A plugins/statistics/www/js/disk-usage-pie/src/disk-usage-pie-chart.js +78 −0 Go to diff View file
A plugins/statistics/www/js/package-lock.json +67 −0 Go to diff View file
A plugins/statistics/www/js/package.json +21 −0 Go to diff View file
A plugins/statistics/www/js/webpack.config.js +50 −0 Go to diff View file
M plugins/statistics/www/project_cumulativeDiskUsage_graph.php +2 −23 Go to diff View file
M plugins/statistics/www/project_stat.php +28 −18 Go to diff View file
A plugins/statistics/www/themes/default/css/_disk-usage-pie.scss +99 −0 Go to diff View file
M plugins/statistics/www/themes/default/css/style.scss +2 −0 Go to diff View file
M src/www/scripts/admin/generate-pie-charts.js +2 −2 Go to diff View file
R src/www/scripts/admin/statistics-chart.js Go to diff View file
M tools/rpm/tuleap.rhel6.spec +1 −0 Go to diff View file
M tools/rpm/tuleap.rhel7.spec +1 −0 Go to diff View file