Skip to content

fix: resolve missing users in <UserCombobox /> - #21822

Merged
jakehwll merged 4 commits into
mainfrom
jakehwll/21044-user-dropdown-search
Feb 2, 2026
Merged

jakehwll merged 4 commits into
mainfrom
jakehwll/21044-user-dropdown-search

Conversation

@jakehwll

@jakehwll jakehwll commented Feb 2, 2026 •

Copy link
Copy Markdown
Contributor

Closes #21044

This pull-request addresses an issue we were seeing where we would attempt to filter the <UserCombobox /> by the users username or email not their username (which the rendered options would show).

To highlight this I created three different users. Each with a username that did not contain their email or name and attempted to filter. Attempting to search for John wouldn't actually show the user as his username was x, and infact whereas a subset of users might be returned from the backend for having john in the email it would've been filtered by the frontend for not being in the name field.

Name Username
Jake z
Jeff y
John x
Previously Now
OLD_USER_COMBOBOX NEW_USER_COMBOBOX

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1bbdb18774

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread coderd/database/queries/users.sql Resolved
Comment thread coderd/searchquery/search.go Resolved
Comment thread coderd/database/queries/users.sql Resolved
@jakehwll
jakehwll merged commit 052bd11 into main Feb 2, 2026
29 checks passed
@jakehwll
jakehwll deleted the jakehwll/21044-user-dropdown-search branch February 2, 2026 13:13
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tasks: User search dropdown broken after typing one character

2 participants