Skip to content

[Bug]: Mobile thread list's project filter ignores recent activity, unlike other project pickers #36424

Description

@robrab2000

Before submitting

  • 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

  1. Connect the mobile app to an environment with several projects, a few of which have recent threads.
  2. On the Threads list (or the tablet sidebar), tap the filter button.
  3. 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.

Impact

Minor bug or occasional failure

Version or commit

main @ 36f011d

Environment

T3 Code mobile app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions