stable

Clone or download

Read-only

Edit/merge project labels

Part of story #10501: Manage project labels You can edit the name of a project label. If the new name is already existing, then the labels are merged, even if both labels were on the same pull request (warning is displayed in the edit modal in that case). Change-Id: I0002d33dc6051fc9712a3ee3e55da22d107c34ba

Modified Files

Name
M plugins/pullrequest/include/PullRequest/Label/PullRequestLabelDao.php +31 −1 Go to diff View file
M plugins/pullrequest/include/pullrequestPlugin.class.php +12 −0 Go to diff View file
M plugins/pullrequest/www/js/angular/src/app/dashboard/pull-request-summary/_pull-request-summary.scss +4 −0 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +25 −1 Go to diff View file
M site-content/tuleap-core.pot +22 −0 Go to diff View file
M src/common/autoload.php +4 −2 Go to diff View file
A src/common/project/Label/EditController.php +94 −0 Go to diff View file
M src/common/project/Label/IndexController.php +13 −3 Go to diff View file
M src/common/project/Label/IndexPresenter.php +14 −0 Go to diff View file
M src/common/project/Label/LabelDao.php +54 −1 Go to diff View file
M src/common/project/Label/LabelPresenter.php +12 −0 Go to diff View file
M src/common/project/Label/LabelsManagementRouter.php +10 −1 Go to diff View file
A src/common/project/Label/MergeProjectLabelInTransaction.php +77 −0 Go to diff View file
M src/templates/project/labels/label-modal-delete.mustache +4 −1 Go to diff View file
A src/templates/project/labels/label-modal-edit.mustache +52 −0 Go to diff View file
M src/templates/project/labels/list-labels.mustache +8 −1 Go to diff View file
M src/www/project/admin/labels.php +6 −2 Go to diff View file
A src/www/scripts/labels/project-admin/project-admin-labels.js +87 −0 Go to diff View file
M src/www/scripts/package-lock.json +5 −0 Go to diff View file
M src/www/scripts/package.json +1 −0 Go to diff View file
D src/www/scripts/tuleap/project-admin-labels.js +0 −37 Go to diff View file
M src/www/scripts/webpack.config.js +23 −0 Go to diff View file
M src/www/themes/BurningParrot/css/includes/project-admin/_labels.scss +8 −0 Go to diff View file