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]: Issues Projects filter lists one repository once per environment (and once per checkout) #41524
On the web Issues page, Filters → Projects shows one checkbox for each environment+project pair. A repository that is a project on two paired environments appears twice ("owner/repo · Env A", "owner/repo · Env B"). A repository with two checkouts inside one environment appears twice more (the extra entries are told apart by folder path).
Unchecking one of those entries does not hide the repository. The other environments still return its issues, and since #38205 each issue URL is listed once, so the rows look unchanged. To hide a repository you have to find and uncheck every copy.
Open /issues → Filters → Projects. The repository is listed twice, suffixed with each environment's label.
Uncheck one of the two. The repository's issues are still listed.
Version: 0.1.11 (desktop). It's the same on main today.
Where
apps/web/src/components/issue/issuesSearch.logic.ts, issueFilterProjects: sets repositoryIdentity: null before grouping, so every project is its own entry, even inside one environment.
packages/client-runtime/src/pullRequestProjectFilter.ts, pullRequestFilterProjects: the grouping key starts with project.environmentId, so even with the repository kept, there is one entry per environment.
Hidden choices are saved and sent as [environmentId, projectId] pairs (hideProjects, then excludeProjectIds per environment in issueListTargets). A grouped entry would have to expand to every member pair.
Expected
One entry per repository across environments, as #26281 proposes for the mobile PR filter, and as #38205 already does for issue rows. Unchecking it hides that repository everywhere. Projects without a repository (scratch projects or Linear-only bindings) could stay as single per-project entries. The comment on issueFilterProjects says it keeps them separate so each project can read a different Linear team.
Reproducing this on current main and preparing a fix PR — the Projects filter lists the same repository once per environment/checkout and unchecking one copy does not hide its issues.
Activity
four1er commentedon Nov 23, 2026
Reproducing this on current main and preparing a fix PR — the Projects filter lists the same repository once per environment/checkout and unchecking one copy does not hide its issues.