stable
Clone or download
part of request #12564 Load Graphs on trackers v5 data asynchronously How to test: - Redeploy your nginx configurations (make redeploy-nginx) - Set up a Tracker Report. - Add D3 charts to it: Bar chart, Pie chart, Grouped bar chart, Cumulative flow chart - Non-D3 charts (Burndown, Gantt) should have no functional change. - While editing a single chart, the chart preview should be shown asynchronously. - While browsing the report renderer (with many charts), all charts should be shown asynchronously. - Add a Tracker renderer (or Chart) widget to your dashboard. All charts should be shown asynchronously Make sure to test: - When you add a new chart and didn't save the report (its id should be negative) - When you add a new renderer and didn't save the report (ids are negative) Might be done later: - Having an animated skeleton instead of a spinner. - Renaming the exported chart functions to verbs. - Passing the graph Node to the chart functions instead of re-selecting it. Change-Id: I9fbd24ced874b7ee29339bbd377404d643d16944
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/graphontrackersv5/build-manifest.json | +7 | −1 | Go to diff View file |
A | plugins/graphontrackersv5/etc/nginx/graphontrackersv5.conf | +21 | −0 | Go to diff View file |
A | plugins/graphontrackersv5/include/Async/ChartDataController.php | +79 | −0 | Go to diff View file |
M | plugins/graphontrackersv5/include/GraphOnTrackersV5_Renderer.class.php | +0 | −10 | Go to diff View file |
M | plugins/graphontrackersv5/include/data-access/GraphOnTrackersV5_Chart.class.php | +12 | −11 | Go to diff View file |
M | plugins/graphontrackersv5/include/graphontrackersv5Plugin.class.php | +19 | −6 | Go to diff View file |
M | plugins/graphontrackersv5/site-content/fr_FR/LC_MESSAGES/tuleap-graphontrackersv5.po | +16 | −7 | Go to diff View file |
M | plugins/graphontrackersv5/site-content/tuleap-graphontrackersv5.pot | +9 | −0 | Go to diff View file |
M | plugins/graphontrackersv5/www/scripts/package-lock.json | +18 | −0 | Go to diff View file |
M | plugins/graphontrackersv5/www/scripts/package.json | +3 | −1 | Go to diff View file |
A | plugins/graphontrackersv5/www/scripts/po/fr.po | +3 | −0 | Go to diff View file |
A | plugins/graphontrackersv5/www/scripts/po/template.pot | +3 | −0 | Go to diff View file |
A | plugins/graphontrackersv5/www/scripts/src/gettext_provider.js | +27 | −0 | Go to diff View file |
M | plugins/graphontrackersv5/www/scripts/src/loadGraphs.js | +77 | −10 | Go to diff View file |
R | plugins/graphontrackersv5/www/scripts/src/graphs.js | Go to diff View file | ||
M | plugins/graphontrackersv5/www/scripts/webpack.config.js | +7 | −2 | Go to diff View file |
M | plugins/graphontrackersv5/www/themes/default/css/style.scss | +9 | −0 | Go to diff View file |