stable

Clone or download

Read-only

feat: Display error badge on broken pull-requests

part of story #33006 Create filters on my PR How to test: - Pick up a pull-request, and note its id (can be found in the url) - In the `plugin_pullrequest_git_reference_tab` set `status=2` for the chosen pull-request. At this step, your pull-request should be considered broken - Go to the pull-requests hompage --> The pull-request has a badge saying 'Error' Change-Id: Ibe1160fa911323afbc4c678222842c667b6ef94c

Modified Files

Name
M plugins/pullrequest/build-manifest.json +4 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/package.json +3 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/pnpm-lock.yaml +350 −4 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/po/fr_FR.po +16 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/List/PullRequest/PullRequestBrokenBadge.test.ts +60 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/List/PullRequest/PullRequestBrokenBadge.vue +39 −0 Go to diff View file
R plugins/pullrequest/scripts/pullrequest-homepage/src/components/List/PullRequestCard.test.ts Go to diff View file
R plugins/pullrequest/scripts/pullrequest-homepage/src/components/List/PullRequestCard.vue Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/components/List/PullRequestsList.vue +1 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/pullrequest-homepage.ts +8 −1 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/tests/global-options-for-tests.ts +27 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/vite.config.ts +2 −1 Go to diff View file