Skip to content

feat(search): Add userCount filter key to issue search autocomplete#114823

Open
isaacwang-sentry wants to merge 1 commit intomasterfrom
iwang/add-user-count-frontend-filter
Open

feat(search): Add userCount filter key to issue search autocomplete#114823
isaacwang-sentry wants to merge 1 commit intomasterfrom
iwang/add-user-count-frontend-filter

Conversation

@isaacwang-sentry
Copy link
Copy Markdown
Member

Summary

  • Registers USER_COUNT in the FieldKey enum, field definitions, and ISSUE_PROPERTY_FIELDS so the search bar recognizes userCount as a valid filter key
  • Adds userCount to builtInIssuesFields() so it appears in the issue list search bar autocomplete dropdown
  • Follows the same pattern as the existing timesSeen filter

Depends on backend PR: #114796

Test plan

  • Verified locally that userCount appears in the search bar autocomplete
  • CI passes

Register USER_COUNT in the FieldKey enum, field definitions, and
issue property fields so the search bar autocompletes userCount as a
filter option. Also add it to builtInIssuesFields so it appears in
the issue list search bar dropdown.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@isaacwang-sentry isaacwang-sentry requested review from a team as code owners May 5, 2026 00:17
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 5, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

📊 Type Coverage Diff

Metric Before After Delta
Coverage 93.40% 93.40% ±0%
Typed 134,785 134,900 🟢 +115
Untyped 9,524 9,529 🔴 +5
🔍 5 new type safety issues introduced

any-typed symbols (3 new)

File Line Detail
static/gsAdmin/schemas/policies.tsx 54 form (param(binding))
static/gsAdmin/schemas/policies.tsx 54 <pattern> (param)
static/gsAdmin/schemas/policies.tsx 55 value (var)

Non-null assertions (!) (2 new)

File Line Detail
static/app/views/issueList/utils/useFetchIssueTags.tsx 381 PREDEFINED_FIELDS[FieldKey.USER_COUNT]!
static/app/views/settings/organizationRepositoriesV2/index.tsx 238 installationsByProviderKey[provider.key]!

This is informational only and does not block the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants