Repository navigation
feat(web): add pull request list filters - #8809
Merged
maria-rcks merged 27 commits intoSep 1, 2026
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pull request lists now show summary-style colored labels and per-row additions/deletions, with author and label filters. the author picker stays capped at ten contributors and ranks them by merges in the loaded results. sorting is a separate icon +
Sortcontrol; creation-time and change-size choices explicitly apply to the rows shown.selected labels remain visible and removable when the current state has no matching rows. url labels dedupe case-insensitively.
verified against real pingdotgg/t3code data earlier in this pr: author search narrowed the list to matching rows and loaded change totals sorted strictly by size. the final follow-up passed 101 focused tests and web typecheck.
this capture predates the final narrower icon +
Sorttrigger, but reflects the shipped row-label and filter-menu treatment.generated with gpt-5.6-sol in the codex harness.
Note
Low Risk
Mostly UI and client-side ordering; author/label filters extend existing listing filter plumbing and URL/cache keys, so expect harmless refetches after deploy rather than security or data risks.
Overview
The Pull requests page gains author and labels narrowings (URL-backed with the rest of the menu filters), a separate Sort control, and richer list rows.
The Filters menu is reorganized into compact submenus that show the current choice; the trigger shows a count of active narrowings instead of a dot. New Author (searchable radio list, capped at ten, ordered by merges in loaded results) and Labels (multi-select, up to ten) submenus are fed by
collectPullRequestListFacets, with an extra list fetch only while the menu is open. Sort options (recently updated, newest/oldest shown, largest/smallest by diff size) reorder client-side over the rows currently displayed and collapse involvement grouping when not on the default.Rows show the first label with a colored dot and a
+Nsuffix. Label hex colors go through sharedpullRequestLabelColor(also used in the detail summary). Project options can show favicons viaPullRequestFilterOptionIcon. Tests adjustfindLabeledGroupfor nested submenu radio groups.Reviewed by Cursor Bugbot for commit 275bd19. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add author, label, and sort filters to pull request list
PullRequestFiltersMenu, with searchable author list ranked by merged count and multi-select label checkboxesupdated,newest,oldest,largest,smallest) to URL search state and a sort control in the list headercollectPullRequestListFacetsin pullRequestList.logic.ts to compute author and label facet lists on demand when the filters menu openspullRequestLabelColoras a shared color validator and addsPullRequestRowLabelsto show the first label with a colored dot and+Nindicator on each rowscopeKeyextended to include author and labels for cache separationMacroscope summarized 275bd19.