stable

Clone or download

Read-only

feat: Have a search input + apply keywords filters

part of story #35826 Pull request new home page - Filter on Keywords How to test: - type keywords in the search input, then press Enter --> The search input is emptied --> A badge [keyword: your keyword] has been created --> The list has been reloaded and now displays pull-requests whose titles or descriptions matches with the keyword Change-Id: I4245dd2e55d07ac82189e0afec8cffb31cac2cdd

Modified Files

Name
M plugins/pullrequest/include/PullRequest/REST/v1/RepositoryPullRequests/QueryToSearchCriteriaConverter.php +1 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/po/fr_FR.po +6 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/api/get-pull-requests-query-builder.test.ts +20 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/api/get-pull-requests-query-builder.ts +28 −5 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Keywords/KeywordFilter.test.ts +36 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Keywords/KeywordFilter.ts +42 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Keywords/KeywordsSearchInput.test.ts +86 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/Keywords/KeywordsSearchInput.vue +66 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/PullRequestListFilters.vue +9 −6 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/PullRequestsListFilter.ts +6 −2 Go to diff View file