stable

Clone or download

Read-only

Draw velocity chart

Part of story #10633 - see velocity in agile dashboard Please be aware that chart-layout-builder will be refactored in another commit: We should extract legend and ticks formatting in other objects in order to make it more generic. The goal of this commit is to draw a chart, not to refactor 3 charts at a time. How to test: - In a project when semantic velocity is fully configured and where some data are available and where a burndown and burnup graph are defined: --> The burnup/down graphs are displayed properly (specially legends) --> A bar chart named "velocity" is rendered. --> One bar per sprint Change-Id: I01da49376bbbd7689132650896e4e41b5186821e

Modified Files

Name
M plugins/agiledashboard/templates/pane-details.mustache +7 −8 Go to diff View file
M plugins/agiledashboard/www/js/burnup-chart/src/burnup-chart-drawer.js +2 −2 Go to diff View file
M plugins/tracker/www/scripts/burndown-chart/src/burndown-chart-drawer.js +2 −2 Go to diff View file
M plugins/velocity/build-manifest.json +35 −1 Go to diff View file
M plugins/velocity/include/Velocity/VelocityChartPresenter.php +1 −1 Go to diff View file
M plugins/velocity/include/velocityPlugin.class.php +36 −0 Go to diff View file
M plugins/velocity/site-content/fr_FR/LC_MESSAGES/tuleap-velocity.po +1 −11 Go to diff View file
M plugins/velocity/site-content/tuleap-velocity.pot +0 −9 Go to diff View file
M plugins/velocity/templates/chart-field.mustache +13 −25 Go to diff View file
A plugins/velocity/www/scripts/package-lock.json +5245 −0 Go to diff View file
A plugins/velocity/www/scripts/package.json +32 −0 Go to diff View file
A plugins/velocity/www/scripts/velocity-chart/po/fr.po +0 −0 Go to diff View file
A plugins/velocity/www/scripts/velocity-chart/po/template.pot +0 −0 Go to diff View file
A plugins/velocity/www/scripts/velocity-chart/src/gettext-provider.js +31 −0 Go to diff View file
A plugins/velocity/www/scripts/velocity-chart/src/index.js +56 −0 Go to diff View file
A plugins/velocity/www/scripts/velocity-chart/src/velocity-chart-drawer.js +119 −0 Go to diff View file
A plugins/velocity/www/scripts/velocity-chart/velocity-chart.scss +26 −0 Go to diff View file
A plugins/velocity/www/scripts/webpack.config.js +98 −0 Go to diff View file
A plugins/velocity/www/themes/BurningParrot/css/_velocity.scss +24 −0 Go to diff View file
A plugins/velocity/www/themes/BurningParrot/css/velocity-blue-condensed.scss +28 −0 Go to diff View file
A plugins/velocity/www/themes/BurningParrot/css/velocity-blue.scss +28 −0 Go to diff View file
A plugins/velocity/www/themes/BurningParrot/css/velocity-green-condensed.scss +28 −0 Go to diff View file
A plugins/velocity/www/themes/BurningParrot/css/velocity-green.scss +28 −0 Go to diff View file
A plugins/velocity/www/themes/BurningParrot/css/velocity-grey-condensed.scss +28 −0 Go to diff View file
A plugins/velocity/www/themes/BurningParrot/css/velocity-grey.scss +28 −0 Go to diff View file
A plugins/velocity/www/themes/BurningParrot/css/velocity-orange-condensed.scss +28 −0 Go to diff View file
A plugins/velocity/www/themes/BurningParrot/css/velocity-orange.scss +28 −0 Go to diff View file
A plugins/velocity/www/themes/BurningParrot/css/velocity-purple-condensed.scss +28 −0 Go to diff View file
A plugins/velocity/www/themes/BurningParrot/css/velocity-purple.scss +28 −0 Go to diff View file
A plugins/velocity/www/themes/BurningParrot/css/velocity-red-condensed.scss +28 −0 Go to diff View file
A plugins/velocity/www/themes/BurningParrot/css/velocity-red.scss +28 −0 Go to diff View file
A src/www/scripts/charts-builders/bar-chart-scales-factory.js +67 −0 Go to diff View file
M src/www/scripts/charts-builders/chart-layout-builder.js +16 −9 Go to diff View file