stable

Clone or download

Read-only

request #8864: Move BacklogItemDetails directive to isolate scope

All its dependencies are now either defined in the directive's scope or injected in its controller. More changes will follow in the next commits, some code is left "weird" to have a smaller change. - Also removes unused npm dependencies Change-Id: Ic6c81d9ad0f5f187d60e18aba18705d80dc40083

Modified Files

Name
M plugins/agiledashboard/www/js/planning-v2/build.config.js +4 −0 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/package.json +0 −2 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/po/template.pot +22 −22 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app-main-controller.js +32 −24 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app-planning-controller.js +5 −33 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app.js +2 −1 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/backlog-filterterms/backlog-filter-value.js +5 −0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/backlog-filterterms/backlog-filterterms.js +3 −0 Go to diff View file
R plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-collection-service.js Go to diff View file
R plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-collection-service.spec.js Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-collection/backlog-item-collection.js +3 −0 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-controller.js +29 −65 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-controller.spec.js +11 −168 Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-details-controller.js +0 −45 Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-details-directive.js +0 −13 Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-details.tpl.html +0 −94 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-details/backlog-item-details-controller.js +104 −0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-details/backlog-item-details-controller.spec.js +197 −0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-details/backlog-item-details-directive.js +18 −0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-details/backlog-item-details.js +9 −0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-details/backlog-item-details.less +243 −0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-details/backlog-item-details.tpl.html +118 −0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-details/card-fields-service.js +162 −0 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-directive.js +5 −5 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item.js +4 −1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item.less +1 −250 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item.tpl.html +10 −7 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog/backlog-controller.js +12 −7 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog/backlog-controller.spec.js +12 −6 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 +1 −1 Go to diff View file
D plugins/agiledashboard/www/js/planning-v2/src/app/card-fields-service.js +0 −164 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/edit-item/edit-item-service.js +45 −0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/edit-item/edit-item.js +5 −0 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/shared-properties/shared-properties.js +1 −3 Go to diff View file