stable

Clone or download

Read-only

feat: be able to filter on target branches

part of story #35824 Pull request new home page - Filter on Target branch How to test: - Click on [+ Add filter] and select "Branch" in the menu - Select a branch, and close the dropdown --> Only pull-requests whose target branch match the selected branch are displayed Change-Id: I1ed2fb54bc8c5be5136e6491c077e6f51fdcc084

Modified Files

Name
A plugins/pullrequest/scripts/lib/rest-api-types/src/branches.ts +22 −0 Go to diff View file
M plugins/pullrequest/scripts/lib/rest-api-types/src/main.ts +1 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/po/fr_FR.po +15 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/api/get-pull-requests-query-builder.test.ts +13 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/api/get-pull-requests-query-builder.ts +20 −12 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/api/tuleap-rest-querier.test.ts +21 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/api/tuleap-rest-querier.ts +9 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Branches/BranchFilteringCallback.test.ts +58 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Branches/BranchFilteringCallback.ts +33 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Branches/BranchTemplatingCallback.test.ts +57 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Branches/BranchTemplatingCallback.ts +32 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Branches/BranchesLoader.test.ts +64 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Branches/BranchesLoader.ts +41 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Branches/TargetBranchFilter.test.ts +35 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Branches/TargetBranchFilter.ts +45 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Branches/TargetBranchSelectorEntry.ts +56 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/PullRequestListFilters.vue +2 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/PullRequestsListFilter.ts +11 −2 Go to diff View file