stable

Clone or download

Read-only

feat: Custom element to display pull-requests labels on dashboard view

part of request #32631 homogenize pull-request labels styles This contribution aims to homogenize the pull-request labels styles. How to test: - Go to the list of open and closed pull-requests --> The labels have the same styles than the ones displayed in the overview tab - throw a RestException in PullRequestResource::468 - reload the page --> The error modal opens --> The error message is displayed when "Show details" is clicked Change-Id: I55e4dcffe5d670b31c1826bcd723e184d38a4108

Modified Files

Name
M plugins/pullrequest/scripts/pullrequests-app/src/app/commits/commits-rest-service.js +1 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-collection-rest-service.js +1 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-collection-rest-service.test.js +7 −7 Go to diff View file
A plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-summary/PullRequestLabelsList.test.ts +112 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-summary/PullRequestLabelsList.ts +82 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-summary/pull-request-summary-controller.js +8 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-summary/pull-request-summary-controller.test.js +22 −2 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-summary/pull-request-summary.tpl.html +6 −4 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/error-modal/error-modal-service.js +7 −4 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/file-diff/file-diff-rest-service.js +1 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/files/files-rest-service.js +1 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/labels/labels-controller.js +0 −5 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/overview/reviewers/reviewers-rest-service.js +3 −3 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/overview/timeline/timeline-rest-service.js +2 −2 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/pull-request/pull-request-rest-service.js +3 −3 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/pull-request/pull-request-rest-service.test.js +3 −3 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/user-rest-service.js +2 −2 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/user-rest-service.test.js +5 −5 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/themes/includes/_pull-request-summary.scss +4 −12 Go to diff View file