stable

Clone or download

Read-only

Use the list picker in the angular modal

Part of: story #16646 have searchable (multi) select boxes with (static binding, no dependencies) in modal How to test: - Go to a page where the angularjs modal is used. e.g: kanban, planning v2 etc... - Open the modal => All the select are replaced by the new list picker => There is no fucntionnal change at the artifact submission. Note: We could not use the angularjs depsite the reduced template implementation. The main reason is the "$element" is not provided in a component and only provided if we use a directive. Change-Id: I2bd4e75f00eed4c171651642656f6b3171c7d470

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/KanbanPresenter.class.php +5 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Pane/Planning/PlanningV2Presenter.class.php +8 −0 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/app-kanban-controller.js +9 −2 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/app-kanban-controller.test.js +4 −2 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/app-main-controller.js +3 −0 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/shared-properties/shared-properties-service.js +7 −0 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/backlog-item/backlog-item-details/backlog-item-details-controller.js +6 −1 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/backlog-item/backlog-item-details/backlog-item-details-controller.test.js +2 −1 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/backlog/backlog-controller.js +12 −2 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/backlog/backlog-controller.test.js +4 −2 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/edit-item/edit-item-service.js +2 −1 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/main-controller.js +3 −0 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/planner-view/planner-view-component.js +10 −3 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/planner-view/planner-view-component.test.js +8 −4 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/shared-properties/shared-properties-service.js +11 −0 Go to diff View file
M plugins/agiledashboard/templates/kanban.mustache +1 −0 Go to diff View file
M plugins/agiledashboard/templates/pane-planning-v2.mustache +1 −0 Go to diff View file
M plugins/testmanagement/include/TestManagement/IndexPresenter.class.php +10 −4 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/app-controller.js +5 −0 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/campaign/campaign-edit-controller.js +3 −3 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-detail-controller.js +4 −2 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/shared-properties/shared-properties-service.js +11 −0 Go to diff View file
M plugins/testmanagement/templates/index.mustache +1 −0 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-controller.js +1 −0 Go to diff View file
A plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/list-picker-field/list-picker-field-controller.js +49 −0 Go to diff View file
A plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/list-picker-field/list-picker-field-directive.js +40 −0 Go to diff View file
A plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/list-picker-field/list-picker-field.tpl.html +35 −0 Go to diff View file
A plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/list-picker-multiple-field/list-picker-mulitple-field-directive.js +40 −0 Go to diff View file
A plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/list-picker-multiple-field/list-picker-multiple-field-controller.js +49 −0 Go to diff View file
A plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/list-picker-multiple-field/list-picker-multiple-field.tpl.html +36 −0 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-service.js +33 −5 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal.js +4 −0 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal.scss +1 −0 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal.tpl.html +16 −30 Go to diff View file
M src/scripts/list-picker/src/helpers/__snapshots__/DropdownContentRenderer.test.ts.snap +1 −0 Go to diff View file
M src/scripts/list-picker/src/helpers/static-list-helper.test.ts +13 −1 Go to diff View file
M src/scripts/list-picker/src/helpers/static-list-helper.ts +4 −1 Go to diff View file
M src/scripts/list-picker/src/test-helpers/select-box-options-generator.ts +6 −1 Go to diff View file