stable

Clone or download

Read-only

Change Program Increments labels

This is part of story #20067 move Program out of experimental How to test: * Run "make dev-forgeupgrade" * If you have already a program increment: -> There is a new line in plugin_program_management_label_program_increment table with (${program_increment_tracker_id}, "Program Increments", "program increment") * You can use PUT: project/$id/program_plan to change this labels -> In the representation, you can set (or not) "custom_label" and "custom_sub_label" -> By default, if you don't use 'custom_label', "Program Increments" will be saved in db. -> By default, if you don't use 'custom_sub_label', "program increment" will be saved in db. -> Labels are in plugin_program_management_custom_label_program_increment table * In program plugin, there are your custom labels displayed. -> At the top of PI columns, there is your custom label. -> In the button "Add ...", there is your custom sub label. Change-Id: I44a457a057bb05600d3f13d86bf59d65ccc12057

Modified Files

Name
M plugins/program_management/db/install.sql +7 −1 Go to diff View file
A plugins/program_management/db/mysql/2021/202103150900_add_labels_table_for_program_increment.php +46 −0 Go to diff View file
M plugins/program_management/db/uninstall.sql +2 −1 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/ProgramIncrementTrackerConfigurationBuilder.php +24 −2 Go to diff View file
M plugins/program_management/include/Adapter/Program/Plan/PlanDao.php +34 −0 Go to diff View file
M plugins/program_management/include/Adapter/Workspace/WorkspaceDAO.php +3 −1 Go to diff View file
M plugins/program_management/include/DisplayProgramBacklogController.php +3 −1 Go to diff View file
M plugins/program_management/include/Program/Backlog/ProgramIncrement/ProgramIncrementTrackerConfiguration.php +23 −1 Go to diff View file
M plugins/program_management/include/Program/Plan/CreatePlan.php +3 −1 Go to diff View file
M plugins/program_management/include/Program/Plan/Plan.php +23 −1 Go to diff View file
M plugins/program_management/include/Program/Plan/PlanCreator.php +4 −2 Go to diff View file
M plugins/program_management/include/Program/Plan/PlanStore.php +5 −0 Go to diff View file
M plugins/program_management/include/ProgramBacklogPresenter.php +21 −1 Go to diff View file
M plugins/program_management/include/REST/v1/ProjectResource.php +14 −1 Go to diff View file
M plugins/program_management/include/REST/v1/ProjectResourcePutPlanRepresentation.php +8 −0 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +2 −1 Go to diff View file
M plugins/program_management/scripts/program_management/index.ts +15 −1 Go to diff View file
M plugins/program_management/scripts/program_management/po/fr_FR.po +2 −5 Go to diff View file
M plugins/program_management/scripts/program_management/src/components/Backlog/ProgramIncrement/ProgramIncrementList.test.ts +13 −1 Go to diff View file
M plugins/program_management/scripts/program_management/src/components/Backlog/ProgramIncrement/ProgramIncrementList.vue +24 −3 Go to diff View file
M plugins/program_management/scripts/program_management/src/configuration.ts +15 −1 Go to diff View file
M plugins/program_management/site-content/fr_FR/LC_MESSAGES/tuleap-program_management.po +6 −0 Go to diff View file
M plugins/program_management/templates/program-backlog.mustache +2 −0 Go to diff View file
M plugins/program_management/tests/rest/v1/ProjectResourceTest.php +25 −0 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/ProgramIncrementTrackerConfigurationBuilderTest.php +60 −13 Go to diff View file
M plugins/program_management/tests/unit/DisplayProgramBacklogControllerTest.php +3 −1 Go to diff View file
M plugins/program_management/tests/unit/Program/Plan/PlanCreatorTest.php +18 −2 Go to diff View file