stable

Clone or download

Read-only

Migrate Planning-v2 to BurningParrot

Part of story #11095 Style Planning-v2 in BurningParrot Sorry for the giant review, if you think of a way to split it please let me know. Differences with the mockup are expected. A second patch to adjust will be done. How to test: - at tuleap root, 'npm run build' Check all actions in planning-v2: - Top backlog vs Milestone planning - Drag & drop - Adding items / milestone - Editing items / milestone - Drop of a Task in a User Story - Multi-drag & drop - Filtering the backlog Check that warnings are shown & nothing is draggable when you don't have rights (for example not project member). Changes: - Removed angular-ui-router - (Design) Replaced loader-mini by fa-spinner on Milestones updating Change-Id: I1b6a0295d7d8a89a270a3a07037e3721569f0a21

Modified Files

Name
M gulpfile.js +0 −1 Go to diff View file
M plugins/agiledashboard/build-manifest.json +3 −1 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/JavascriptDependenciesProvider.php +29 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/KanbanJavascriptDependenciesProvider.php +2 −2 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Planning/PlanningJavascriptDependenciesProvider.php +42 −0 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneController.class.php +8 −4 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.class.php +39 −29 Go to diff View file
M plugins/agiledashboard/include/autoload.php +4 −2 Go to diff View file
M plugins/agiledashboard/templates/pane-details.mustache +1 −1 Go to diff View file
M plugins/agiledashboard/templates/pane-planning-v2.mustache +2 −2 Go to diff View file
M plugins/agiledashboard/templates/show-top.mustache +2 −2 Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/.bowerrc +0 −3 Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/.eslintrc.json +0 −237 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/.gitignore +0 −1 Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/bower.json +0 −13 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/gulpfile.js +3 −49 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/package-lock.json +32 −1334 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/package.json +2 −8 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/po/fr.po +34 −44 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/po/template.pot +15 −17 Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/src/.htaccess +0 −2 Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/src/app/app-config.js +0 −27 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app.js +13 −22 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app.spec.js +2 −1 Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-selected/_backlog-item-selected-bar.scss +0 −29 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-selected/backlog-item-select-directive.js +1 −1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-selected/backlog-item-selected-bar.tpl.html +2 −2 Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/_backlog-item.scss +0 −236 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-controller.js +5 −5 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-controller.spec.js +8 −16 Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-details/_backlog-item-details.scss +0 −153 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-details/backlog-item-details-controller.js +0 −5 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-details/backlog-item-details.tpl.html +149 −138 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-directive.js +1 −2 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item.js +5 −4 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item.tpl.html +31 −15 Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/src/app/backlog/_backlog.scss +0 −6 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog/backlog-controller.js +1 −1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog/backlog.tpl.html +75 −60 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/card-fields/card-computed-field/card-computed-field.tpl.html +1 −1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/card-fields/card-fields-service.js +8 −8 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/edit-item/edit-item.js +3 −3 Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/src/app/milestone/_milestone.scss +0 −225 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone-controller.js +29 −50 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone-controller.spec.js +8 −47 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone-directive.js +1 −1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone.tpl.html +113 −71 Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/src/app/modal-moment-fix.js +0 −5 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/open-tlp-dropdown-directive.js +29 −0 Go to diff View file
R plugins/agiledashboard/www/js/planning-v2/src/app/app-planning-controller.js Go to diff View file
R plugins/agiledashboard/www/js/planning-v2/src/app/app-planning-controller.spec.js Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/planning-directive.js +12 −0 Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/src/app/planning-v2.scss +0 −122 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/planning.tpl.html +77 −69 Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/src/assets/loader-mini.gif +- −- Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/src/assets/loader.gif +- −- Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/webpack.config.js +62 −42 Go to diff View file
R plugins/agiledashboard/www/js/overview.js Go to diff View file
M plugins/agiledashboard/www/js/webpack.config.js +1 −1 Go to diff View file
M plugins/agiledashboard/www/themes/BurningParrot/css/_scrum.scss +1 −0 Go to diff View file
A plugins/agiledashboard/www/themes/BurningParrot/css/scrum/_planning.scss +86 −0 Go to diff View file
A plugins/agiledashboard/www/themes/BurningParrot/css/scrum/planning/_backlog-item-details.scss +132 −0 Go to diff View file
A plugins/agiledashboard/www/themes/BurningParrot/css/scrum/planning/_backlog-item-moves.scss +73 −0 Go to diff View file
A plugins/agiledashboard/www/themes/BurningParrot/css/scrum/planning/_backlog-item-transit.scss +134 −0 Go to diff View file
A plugins/agiledashboard/www/themes/BurningParrot/css/scrum/planning/_backlog-item.scss +114 −0 Go to diff View file
A plugins/agiledashboard/www/themes/BurningParrot/css/scrum/planning/_backlog-items-selected-bar.scss +54 −0 Go to diff View file
A plugins/agiledashboard/www/themes/BurningParrot/css/scrum/planning/_backlog.scss +47 −0 Go to diff View file
A plugins/agiledashboard/www/themes/BurningParrot/css/scrum/planning/_card-fields.scss +58 −0 Go to diff View file
A plugins/agiledashboard/www/themes/BurningParrot/css/scrum/planning/_milestone.scss +116 −0 Go to diff View file
A plugins/agiledashboard/www/themes/BurningParrot/css/scrum/planning/_milestones.scss +77 −0 Go to diff View file
R plugins/agiledashboard/www/js/planning-v2/src/assets/current-milestones.png Binary file Go to diff View file
R plugins/agiledashboard/www/js/planning-v2/src/assets/done-milestones.png Binary file Go to diff View file
R plugins/agiledashboard/www/js/planning-v2/src/assets/grip-close.png Binary file Go to diff View file
R plugins/agiledashboard/www/js/planning-v2/src/assets/grip-open.png Binary file Go to diff View file
R plugins/agiledashboard/www/js/planning-v2/src/assets/milestone-empty.png Binary file Go to diff View file
R plugins/agiledashboard/www/js/planning-v2/src/assets/planning-divider.png Binary file Go to diff View file