stable

Clone or download

Read-only

feat: have a select to change sort order

part of story #35820: Pull request new home page - Sort How to test: --> There is a select "sort" above the list of pull-requests on the right hand side. --> Pull-requests are sorted from the newest to the oldest by default - Select "Oldest" in the selectbox --> The list is reloaded. --> The pull-requests are sorted from the oldest to the newest. Change-Id: I81380abc5c88119b08309ad58aad973351db5adf

Modified Files

Name
M plugins/pullrequest/scripts/pullrequest-homepage/po/fr_FR.po +9 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/api/tuleap-rest-querier.test.ts +4 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/api/tuleap-rest-querier.ts +3 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/PullRequestListFilters.vue +12 −2 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/PullRequestsSortOrder.test.ts +51 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/Filters/PullRequestsSortOrder.vue +67 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/components/List/PullRequestsList.test.ts +33 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/components/List/PullRequestsList.vue +8 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/injection-symbols.ts +11 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/src/pullrequest-homepage.ts +3 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-homepage/tests/injection-symbols-stub.ts +8 −1 Go to diff View file