Repository navigation
feat(web): filter issues and pull requests from a row's right-click menu - #46065
Draft
Today20092 wants to merge 1 commit into
Draft
Today20092 wants to merge 1 commit into
Today20092 wants to merge 1 commit into
Conversation
Right-clicking an issue or pull request row now offers filters taken from that row: its repository or project, its author (pull requests), and each label. An active filter's item becomes its undo. Items reuse the URL filter state of the Filters menu, and typed label:/author: qualifiers count as on. Refs pingdotgg#40467 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Today20092
force-pushed
the
feat/row-filter-menu
branch
from
November 30, 2026 12:50
363fa04 to
3455592
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Implements the idea in #40467. This is a feature, not a bug fix, and I'm not vouched, so it is opened as a draft for you to look at. Close it if it doesn't fit; the branch stays on my fork.
Summary
Right-clicking a thread in the sidebar already offers "Filter by {project}". Issue and pull request rows had nothing (PR rows only had Copy link / Open on the
#number). Now right-clicking anywhere on a row adds filters taken from that row:Each filter item comes from a value on the row: the repository, the author, and each label. On issue rows, the project item uses the project name, and there is no author item yet.
When a filter is on, its item changes to remove that filter: "Show all projects", "Show all authors" or "Remove the {label} filter".
How it works
#number.PullRequestRow,IssueRowrowFiltersOfinPullRequestsPageandIssuesPageshowPullRequestLinkContextMenuapplyFilters(pull requests),updateSearch(issues)label:bug,author:alice) counts as on. "Remove" also removes it from the search text. To do this,pullRequestMenuFiltersandapplyPullRequestFilterChangenow also readauthorandlabels. The Filters menu on web and mobile uses these functions, so it now also shows typed filters as on.Evidence
Before: right-clicking a pull request row does nothing (only the



#numberhad a link menu).After: the row menu offers repository, author and label filters.
After, filter applied: list narrowed to saphid, Filters shows 1, the item turned into "Show all authors".
Tests:
pullRequestLinkContextMenu.test.ts(filter items after the link actions, one separator),issuesSearch.logic.test.ts(project item: none, active, other hidden, single project),pullRequestQuery.test.ts(typed author/labels merge into and leave the query).vp run check:changedpasses.Not checked: the Issues page in a running client (the dev server went down mid-session), the desktop native menu, and mobile (no long-press menu added).
Merge Danger
Door: two-way
Client-only; no contract or server change. Reverting removes the menu items.
Blast Radius: small
Row right-click on the Issues and Pull requests pages, and how the Filters menu displays typed
label:/author:qualifiers (now shown as active instead of ignored).Written with Claude Opus 5.5 in Claude Code.
🤖 Generated with Claude Code