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
Searching in the Issues label or assignee filter shows non-matching selected items without their color or display name #43572
In the web /issuesFilters menu (apps/web/src/components/issue/IssueListFilterPickers.tsx), typing a search query in the Labels or Assignee submenu shows already-selected items that do not match the query, strips their color or display name, and prevents the empty state from appearing.
Steps to reproduce
Open /issues and select a known label (for example bug, with a color) in Filters -> Labels.
Type a query that matches a different label (for example docs) or matches nothing (for example zzzz).
Repeat with a known assignee in Filters -> Assignee.
Observed behavior
The selected label (bug) remains prepended at the top of search results with a grey dot (color: null) even when it does not match the query.
Searching for a non-existent label never renders "No labels found" while any label is selected.
The selected assignee remains prepended at the top of search results without their display name (name: null) even when they do not match the query.
Cause
LabelChoices and AssigneeChoices check props.value against the post-search found list instead of the full known candidates list, and prepend missing entries after filtering rather than filtering unoffered and known entries together (unlike mobile's IssueFilterSearchScreen.tsx).
Expected behavior
Unoffered selected labels/assignees (for example from a URL or saved view) should be identified against the full known list, then combined with known and filtered by the search query so non-matching selected items are hidden and "No labels found" appears when nothing matches.
Activity