Project forks: fix sorting dropdown
What does this MR do and why?
The sorting dropdown on the Project forks page is different from other sorting dropdowns (see #19175 (closed)). In addition, the button is always "Last created" instead of the actual sorting option.
This MR replaces the sorting dropdown by the new Sorting Dropdown
component and fixes the above bugs.
Solves #19175 (closed)
/cc @bufferoverflow
Screenshots or screen recordings
before | after |
---|---|
Forks_sorting_before | Forks_sorting_after |
How to set up and validate locally
- Visit a Project Forks page: http://localhost:3000/twitter/Typeahead.Js/-/forks
- Change sorting option
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.