stable

Clone or download

Read-only

Can choose iteration tracker

This is part of story #21793 configure Program Management Know issue: If none iteration is selected and you refresh the admin program page, then the first tracker is selected. It's an issue due to list picker. It will be done in next patch. This patch introduces a new feature flag 'feature_flag_program_management_display_iteration'. If you want set it, you can use: -> tuleap config-set feature_flag_program_management_display_iteration 1 How to test: - Go to Program admin - You can select iteration tracker Expected tracker: - All already selected trackers (PI, Plannable trackers) are disabled in iteration trackers list - When you select a new PI or plannable tracker then the iteration tracker list is updated - You can submit with/without iteration tracker and the DB is updated Change-Id: I2ac1e2e45ca338609f91221a4452ddd6b5feaf70

Modified Files

Name
M plugins/program_management/include/DisplayAdminProgramManagementController.php +14 −1 Go to diff View file
A plugins/program_management/include/Domain/Program/Admin/IterationTrackerConfiguration/PotentialIterationTrackerConfigurationPresentersBuilder.php +60 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/ProgramAdminPresenter.php +11 −2 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +10 −1 Go to diff View file
M plugins/program_management/scripts/admin/po/fr_FR.po +3 −0 Go to diff View file
M plugins/program_management/scripts/admin/src/api/manage-configuration.test.ts +4 −1 Go to diff View file
M plugins/program_management/scripts/admin/src/api/manage-configuration.ts +1 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/helper/disabled-iteration-tracker-helper.test.ts +56 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/helper/disabled-iteration-tracker-helper.ts +50 −0 Go to diff View file
M plugins/program_management/scripts/admin/src/helper/program-configuration-builder.test.ts +55 −5 Go to diff View file
M plugins/program_management/scripts/admin/src/helper/program-configuration-builder.ts +19 −1 Go to diff View file
M plugins/program_management/scripts/admin/src/index.ts +8 −2 Go to diff View file
M plugins/program_management/scripts/admin/src/milestones/init-list-pickers-milestone-section.test.ts +94 −10 Go to diff View file
M plugins/program_management/scripts/admin/src/milestones/init-list-pickers-milestone-section.ts +64 −4 Go to diff View file
M plugins/program_management/scripts/admin/src/milestones/submit-configuration-handler.ts +3 −2 Go to diff View file
M plugins/program_management/scripts/admin/src/type.ts +5 −0 Go to diff View file
M plugins/program_management/site-content/fr_FR/LC_MESSAGES/tuleap-program_management.po +17 −7 Go to diff View file
M plugins/program_management/templates/admin/admin.mustache +1 −1 Go to diff View file
A plugins/program_management/templates/admin/milestones/admin-configuration-iteration-section.mustache +18 −0 Go to diff View file
M plugins/program_management/templates/admin/milestones/admin-configuration-program-increment-section.mustache +68 −78 Go to diff View file
M plugins/program_management/templates/admin/milestones/admin-configuration-tracker.mustache +22 −1 Go to diff View file
M plugins/program_management/tests/unit/DisplayAdminProgramManagementControllerTest.php +3 −0 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Admin/IterationTrackerConfiguration/PotentialIterationTrackerConfigurationPresentersBuilderTest.php +89 −0 Go to diff View file
M plugins/program_management/themes/program_management/_admin.scss +5 −1 Go to diff View file
M src/scripts/lib/list-picker/src/selection/SingleSelectionManager.test.ts +8 −0 Go to diff View file
M src/scripts/lib/list-picker/src/selection/SingleSelectionManager.ts +5 −0 Go to diff View file