stable

Clone or download

Read-only

story #6789: Multiselect items in planning view

/!\ Simple drag'n'drop (without Ctrl+Click) *AND* multi-select need to be tested for this commit. /!\Β Please do some test using Chrome, Firefox & IE11 :troll: Strange behavior due to Dragular: When I select several items, drag one of them and drop it at the same place: - If the next element to the dragged item was a selected item => change is saved in backend, dragged element may disappear but if you reload the page, it's ok - If the next element to the dragged item wasn't into the selected items => nothing is done and all the selected items are deselected In Top backlog: - reorder backlog - move from backlog to a submilestone (eg. release) - move from a release to another one - reorder a release In a given release: - reorder release backlog - move from release to a sprint - move from a sprint to another one - reorder a sprint - move from a child from one backlog item to another one which already has children - move from a child from one backlog item to another one which has no child yet This change introduce a big refacto so check that these actions work: - Backlog item edition - Submilestone edition - Add a backlog item in backlog - Add a backlog item in a submilestone Change-Id: Idb46b7982a414e89f0367f00483f66f86b76abfb

Modified Files

Name
M plugins/agiledashboard/www/js/planning-v2/bower.json +1 βˆ’1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/po/fr.po +35 βˆ’3 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/po/template.pot +21 βˆ’11 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app-planning-controller.js +472 βˆ’472 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app-planning-controller.spec.js +14 βˆ’10 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app.js +2 βˆ’1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-collection-service.js +29 βˆ’2 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-selected/backlog-item-select-directive.js +84 βˆ’0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-selected/backlog-item-selected-bar-controller.js +30 βˆ’0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-selected/backlog-item-selected-bar-directive.js +15 βˆ’0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-selected/backlog-item-selected-bar.less +29 βˆ’0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-selected/backlog-item-selected-bar.tpl.html +9 βˆ’0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-selected/backlog-item-selected-service.js +97 βˆ’0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-selected/backlog-item-selected.js +1 βˆ’0 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-controller.js +197 βˆ’94 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-controller.spec.js +94 βˆ’47 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-factory.js +20 βˆ’15 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-service.js +137 βˆ’133 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item.js +2 βˆ’1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item.less +155 βˆ’69 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item.tpl.html +15 βˆ’15 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog/backlog-controller.js +92 βˆ’28 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog/backlog-controller.spec.js +34 βˆ’21 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog/backlog-service.js +16 βˆ’14 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog/backlog-service.spec.js +71 βˆ’12 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog/backlog.js +2 βˆ’1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog/backlog.tpl.html +5 βˆ’4 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/dropped-service.js +36 βˆ’26 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/dropped-service.spec.js +40 βˆ’8 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone-collection-service.js +26 βˆ’5 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/milestone-collection-service.spec.js +169 βˆ’0 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone-controller.js +116 βˆ’36 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone-controller.spec.js +75 βˆ’44 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone-service.js +47 βˆ’39 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone.js +2 βˆ’1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone.less +0 βˆ’13 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone.tpl.html +35 βˆ’34 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/planning.tpl.html +4 βˆ’2 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/project/project-service.js +17 βˆ’13 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/less/main.less +5 βˆ’0 Go to diff View file
M plugins/agiledashboard/www/themes/FlamingParrot/css/style.less +8 βˆ’0 Go to diff View file