stable

Clone or download

Read-only

Migrate test results pie chart to d3

part of request #12097 Migrate the last pie chart to d3 How to test: - Set up several jobs (they must use JUnit) - Set up several widgets 'test results' --> The charts are displayed right after the widget content has been rendered. --> Each chart is fully functional This patch migrates the pie chart in the jenkins widget "test results" Change-Id: Ib0029b25115ea46c60eb580422ba04ebe5b83676

Modified Files

Name
M plugins/hudson/build-manifest.json +4 −1 Go to diff View file
M plugins/hudson/include/HudsonTestResult.class.php +10 −23 Go to diff View file
A plugins/hudson/include/TestResultsPieChart/TestResultsPieChartDisplayer.php +48 −0 Go to diff View file
A plugins/hudson/include/TestResultsPieChart/TestResultsPieChartPresenter.php +116 −0 Go to diff View file
M plugins/hudson/include/autoload.php +5 −3 Go to diff View file
M plugins/hudson/include/constants.php +3 −2 Go to diff View file
M plugins/hudson/include/hudsonPlugin.class.php +20 −0 Go to diff View file
M plugins/hudson/include/hudson_Widget_JobTestResults.class.php +15 −10 Go to diff View file
M plugins/hudson/site-content/fr_FR/LC_MESSAGES/tuleap-hudson.po +25 −0 Go to diff View file
M plugins/hudson/site-content/tuleap-hudson.pot +18 −0 Go to diff View file
A plugins/hudson/templates/test-results-pie-mount-point.mustache +19 −0 Go to diff View file
A plugins/hudson/www/js/package-lock.json +67 −0 Go to diff View file
A plugins/hudson/www/js/package.json +21 −0 Go to diff View file
A plugins/hudson/www/js/test-results-pie-chart.js +104 −0 Go to diff View file
A plugins/hudson/www/js/webpack.config.js +48 −0 Go to diff View file
D plugins/hudson/www/test_result_pie_chart.php +0 −52 Go to diff View file
M plugins/hudson/www/themes/BurningParrot/css/_hudson.scss +101 −0 Go to diff View file
M src/www/scripts/admin/generate-pie-charts.js +1 −0 Go to diff View file
M src/www/scripts/charts-builders/statistics-pie-chart.js +10 −5 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