stable
Clone or download
Read-only
Closes story #31207 Be able to abandon/reopen a pull-request How to test: - Go to an open pull-request you own --> An abandon button is displayed newt to the merge button - Click it --> The pull-request is abandoned --> The abandoned state is displayed --> A reopen button is available if you have the permission to reopen it - Click the reopen button --> The pull-request has been reopened Change-Id: I91fb7c5664f7bed70d27264c745b98bf8e1e7662
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/pullrequest/include/PullRequest/REST/v1/PullRequestStatusInfoRepresentationBuilder.php | +21 | −7 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php | +2 | −2 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/Timeline/Dao.php | +15 | −1 | Go to diff View file |
A | plugins/pullrequest/include/PullRequest/Timeline/SearchAbandonEvent.php | +29 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/lib/rest-api-types/src/pull-request.ts | +5 | −1 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-overview/po/fr_FR.po | +12 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-overview/src/api/tuleap-rest-querier.test.ts | +46 | −1 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-overview/src/api/tuleap-rest-querier.ts | +19 | −1 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-overview/src/components/Actions/PullRequestAbandonButton.test.ts | +133 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-overview/src/components/Actions/PullRequestAbandonButton.vue | +88 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-overview/src/components/Actions/PullRequestAbandonedState.test.ts | +225 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-overview/src/components/Actions/PullRequestAbandonedState.vue | +149 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-overview/src/components/Actions/PullRequestChangeStateActions.test.ts | +24 | −6 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-overview/src/components/Actions/PullRequestChangeStateActions.vue | +20 | −1 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-overview/src/components/Actions/PullRequestMergeButton.vue | +3 | −4 | Go to diff View file |
M | plugins/pullrequest/tests/unit/REST/v1/PullRequestStatusInfoRepresentationBuilderTest.php | +55 | −1 | Go to diff View file |
A | plugins/pullrequest/tests/unit/Stub/SearchAbandonEventStub.php | +56 | −0 | Go to diff View file |