stable
Clone or download
Read-only
This is part of story #10498: Add labels on pull requests .. IMPORTANT: this review has https://gerrit.tuleap.net/9316 as dependency Run forge-upgrade. Compile assets in core and in pull-requests (sass + angular). In the database create 3 labels for a project that have pull requests (in project_label table). In the database link a pull requests to 2 project labels (in plugin_pullrequest_label table). Open the pull request in the browser, you should see the two chosen labels under the sha1 of the pull request. (Those will be moved in a dedicated commit). If you switch to another pull request then the displayed labels change accordingly. Change-Id: I889c1b8880a413d43c7480b4e2fe1c2d12dd5104
Modified Files
Name | ||||
---|---|---|---|---|
M | db/install.sql | +7 | −1 | Go to diff View file |
A | db/mysql/updates/2017/201708220958_create_pullrequest_label.php | +50 | −0 | Go to diff View file |
M | db/uninstall.sql | +5 | −1 | Go to diff View file |
A | include/PullRequest/Label/LabelDao.php | +44 | −0 | Go to diff View file |
A | include/PullRequest/Label/LabelsCurlyCoatedRetriever.php | +51 | −0 | Go to diff View file |
A | include/PullRequest/REST/v1/LabelRepresentation.php | +42 | −0 | Go to diff View file |
M | include/PullRequest/REST/v1/PullRequestsResource.php | +75 | −0 | Go to diff View file |
M | include/autoload.php | +5 | −2 | Go to diff View file |
M | include/pullrequestPlugin.class.php | +3 | −0 | Go to diff View file |
A | tests/rest/PullRequest/PullRequestsLabelsTest.php | +55 | −0 | Go to diff View file |
A | www/js/angular/src/app/labels/labels-directive.js | +17 | −0 | Go to diff View file |
M | www/js/angular/src/app/overview/overview.tpl.html | +3 | −0 | Go to diff View file |
M | www/themes/FlamingParrot/css/style.scss | +9 | −0 | Go to diff View file |