Skip to content

Make a way to filter and sort the ready for review issues in the console overview #2321

Closed

Description

@JacobStephens2
Screenshot 2026-11-20 at 11 24 36 AM

For example, I might want to filter out PRs not ready to merge, with CI red or merge conflict or something. Or to sort to show those at the top of the list, as those are most actionable

Activity

  1. added
    enhancement
    needs-triage
    in-progress
    and removed
    needs-triage
    on Nov 20, 2026
  2. JacobStephens2 commented on Nov 20, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    Agent Brief

    The Console Inbox Overview shows CI red and Merge conflict on Ready for review rows, but offers only Machine and Repository filters. Ready for review is ordered by most recent Command occurrence (src/console/inbox.html:43,78, src/logs/reading/inbox.rs:30).

    Add a Ready for review filter to hide rows with CI red or a Merge conflict, and a sort option to put those rows first. Default to showing all rows in the current order. Keep the current order within each group when sorting. Use the same criterion as PullRequestChecks::needs_fix (src/logs/github.rs:121), including green or pending CI with a conflict. Pending, no-checks and unknown rows without a reported conflict remain visible when filtering. Label the controls by the two observed signals so the filter does not imply that GitHub will allow a merge.

    Apply the controls to the Ready for review section after Fleet and Repository selection in the HTML render path (src/console.rs:1565). Keep the choices through live refresh and let updated GitHub facts change which rows appear or come first. Show a clear empty state when the filter hides every row. Verify defaults, filtering and stable sorting with CI red alone, a conflict alone, both together, and unknown data. Cover a Fleet row and a live transition using the existing fixtures in console/tests/inbox.test.cjs:2217 and console/tests/fleet.test.cjs:175.

  3. added
    ready-for-agent
    in-progress
    and removed
    in-progress
    ready-for-agent
    on Nov 20, 2026
  4. removed
    in-progress
    on Nov 20, 2026
  5. added a commit that references this issue on Nov 21, 2026
    0359326
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions