stable

Clone or download

Read-only

Can choose plannable tracker

This is part of story #21793 configure Program Management How to test: - Go to Program admin Expected results: => If plannable trackers exist, then there are selected - The PI tracker is disabled in the list of plannable trackers - If you select another PI tracker, Then it becomes disabled in list of plannable trackers Note to reviewer: I needed to modify list picker lib, because no event was waylaied when an attribute was changed (like add `disabled` on an option). Change-Id: I01113d872455948f8343e22d553f74b5892c0c0d

Modified Files

Name
A plugins/program_management/include/Adapter/Program/Admin/PlannableTrackersConfiguration/PotentialPlannableTrackersConfigurationPresentersBuilder.php +64 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Plan/PlanDao.php +13 −1 Go to diff View file
M plugins/program_management/include/DisplayAdminProgramManagementController.php +15 −9 Go to diff View file
A plugins/program_management/include/Domain/Program/Admin/PlannableTrackersConfiguration/BuildPotentialPlannableTrackersConfigurationPresenters.php +33 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/ProgramAdminPresenter.php +8 −1 Go to diff View file
A plugins/program_management/include/Domain/Program/Plan/RetrievePlannableTrackers.php +31 −0 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +3 −1 Go to diff View file
A plugins/program_management/scripts/admin/src/helper/disabled-plannable-tracker-helper.test.ts +54 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/helper/disabled-plannable-tracker-helper.ts +30 −0 Go to diff View file
M plugins/program_management/scripts/admin/src/milestones/init-list-pickers-milestone-section.test.ts +7 −0 Go to diff View file
M plugins/program_management/scripts/admin/src/milestones/init-list-pickers-milestone-section.ts +10 −0 Go to diff View file
M plugins/program_management/templates/admin/milestones/admin-configuration-program-increment-section.mustache +6 −2 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Admin/PlannableTrackersConfiguration/PotentialPlannableTrackersConfigurationPresentersBuilderTest.php +75 −0 Go to diff View file
M plugins/program_management/tests/unit/DisplayAdminProgramManagementControllerTest.php +5 −1 Go to diff View file
A plugins/program_management/tests/unit/Stub/BuildPotentialPlannableTrackersConfigurationPresentersStub.php +59 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrievePlannableTrackersStub.php +54 −0 Go to diff View file
M src/scripts/lib/list-picker/src/events/ListOptionsChangesObserver.test.ts +15 −0 Go to diff View file
M src/scripts/lib/list-picker/src/events/ListOptionsChangesObserver.ts +13 −2 Go to diff View file
M src/scripts/lib/list-picker/src/selection/MultipleSelectionManager.test.ts +9 −0 Go to diff View file
M src/scripts/lib/list-picker/src/selection/MultipleSelectionManager.ts +3 −0 Go to diff View file