You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Mobile thread list's project filter ignores recent activity, unlike other project pickers #36424
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/mobile
Steps to reproduce
Connect the mobile app to an environment with several projects, a few of which have recent threads.
On the Threads list (or the tablet sidebar), tap the filter button.
Look at the order under Project.
Expected behavior
Projects appear most recently used first, with pinned projects on top, the same order the other mobile project lists use (the new-task project picker and the pull request filters both sort with sortHomeProjectScopes). That way the projects I currently have threads running in are at the top.
Actual behavior
The list is in the order projects arrive from the store, which looks alphabetical. With many projects, the ones in active use are scattered through the list.
The filter's options (HomeRouteScreen.tsx and ThreadNavigationSidebar.tsx) come from pickableProjectGroups(projectScopes) with no recency sort, unlike the other project pickers in the mobile app.
Activity