stable
Clone or download
Improve PATCH REST route project/$id/program_backlog to move feature from PI to backlog
This is part of story #20111 change features priority This patch has goal to improve REST route patch `project/$id/program_backlog` to move feature from Program Increment to backlog. This allows to make a single request instead of 2 to move feature. In future patches, this route will be improve to allow reorder in program backlog (see story for details). How to test: 1) - Have features in program increment - Drag'n'drop feature from program increment to backlog |=> No expected changes. If you reload, the feature is at the right place 2) - Have feature not in top backlog and not planned in PI - Go to the feature artifact view - Click on dropdown to move it to top backlog - Go to top backlog |=> There is the feature 3) - Use masschange to move/remove features to top backlog - Go to top backlog |=> Features are moved/removed Change-Id: I436bb72e965192f64659aa002e6d1b148237a437
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/ProgramIncrementsDAO.php | +19 | −0 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Backlog/TopBacklog/MassChangeTopBacklogActionProcessor.php | +2 | −2 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Backlog/TopBacklog/ProcessTopBacklogChange.php | +47 | −1 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Backlog/TopBacklog/Workflow/AddToTopBacklogPostAction.php | +1 | −1 | Go to diff View file |
M | plugins/program_management/include/Program/Backlog/TopBacklog/TopBacklogChange.php | +13 | −4 | Go to diff View file |
M | plugins/program_management/include/Program/Backlog/TopBacklog/TopBacklogChangeProcessor.php | +2 | −0 | Go to diff View file |
M | plugins/program_management/include/Program/Backlog/TopBacklog/TopBacklogUpdater.php | +2 | −0 | Go to diff View file |
M | plugins/program_management/include/REST/v1/BacklogPatchRepresentation.php | +5 | −0 | Go to diff View file |
M | plugins/program_management/include/REST/v1/ProjectResource.php | +34 | −3 | Go to diff View file |
M | plugins/program_management/include/program_managementPlugin.php | +6 | −1 | Go to diff View file |
M | plugins/program_management/scripts/program_management/src/helpers/ProgramIncrement/add-to-top-backlog.test.ts | +4 | −3 | Go to diff View file |
M | plugins/program_management/scripts/program_management/src/helpers/ProgramIncrement/add-to-top-backlog.ts | +2 | −1 | Go to diff View file |
M | plugins/program_management/scripts/program_management/src/helpers/drag-drop.test.ts | +0 | −2 | Go to diff View file |
M | plugins/program_management/scripts/program_management/src/store/actions.test.ts | +16 | −24 | Go to diff View file |
M | plugins/program_management/scripts/program_management/src/store/actions.ts | +2 | −8 | Go to diff View file |
M | plugins/program_management/site-content/fr_FR/LC_MESSAGES/tuleap-program_management.po | +7 | −2 | Go to diff View file |
M | plugins/program_management/tests/rest/v1/ProjectResourceTest.php | +63 | −9 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/MassChangeTopBacklogActionProcessorTest.php | +2 | −2 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/ProcessTopBacklogChangeTest.php | +47 | −8 | Go to diff View file |
M | plugins/program_management/tests/unit/Program/Backlog/TopBacklog/TopBacklogUpdaterTest.php | +1 | −1 | Go to diff View file |