stable

Clone or download

Read-only

feat: fetch pull-requests and display their titles

part of story #33006 Create filters on my PR How to test: - Go to the pull-requests homepage - In the url, add a parameter `tab=homepage` - Go to this url --> The list of all the pull-requests is displayed (open and closed) --> The list is sorted chronologically, from the newest to the latest --> Closed pull-requests are displayed muted - Click on a pull-request --> You are on the overview page of this pull-request Change-Id: Id2a1bb6d3c0e0806aa4bcadafb02e8713c6a5976

Modified Files

Name
M plugins/pullrequest/scripts/pullrequest-homepage/package.json +14 −3 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/pnpm-lock.yaml +376 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/api/tuleap-rest-querier.test.ts +57 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/api/tuleap-rest-querier.ts +41 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/components/HomePage.vue +4 −2 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/List/PullRequestCard.test.ts +101 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/List/PullRequestCard.vue +64 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/List/PullRequestsList.test.ts +52 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/List/PullRequestsList.vue +69 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/injection-symbols.ts +23 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/pullrequest-homepage.ts +13 −1 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/urls/base-url-builders.test.ts +44 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/urls/base-url-builders.ts +40 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/tests/injection-symbols-stub.ts +35 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/tsconfig.json +1 −1 Go to diff View file