Repository navigation
feat(site): migrate organization member filters to FilterCombobox - #31786
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9e4964b465
ℹ️ 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".
| {Boolean(error) && <ErrorAlert error={error} />} | ||
|
|
||
| <UsersFilter {...filterProps} /> | ||
| <OrganizationMembersFilter {...filterProps} error={error} /> |
There was a problem hiding this comment.
Pass only member-query errors to the filter
When adding/removing a member or updating roles returns field validations, OrganizationMembersPage.tsx includes that mutation error in the page-wide error prop, so passing it here marks a valid filter invalid and renders the unrelated operation's validation details beneath the search box. Pass the members query error separately for filter validation while retaining the aggregate error for ErrorAlert.
AGENTS.md reference: site/AGENTS.md:L11-L11
Useful? React with 👍 / 👎.
| chipKeys: ["service_account"], | ||
| inlineOptions: true, | ||
| inlineOptionsLabel: "Member is…", | ||
| chipLabelOnly: true, |
There was a problem hiding this comment.
Keep the false service-account value visible
When a bookmarked or manually entered query contains the supported service_account:false filter, this category claims that token through chipKeys, but chipLabelOnly cannot find a matching option because only service_account:true is defined. The fallback chip and its remove label therefore display only service_account, hiding that the query excludes service accounts and making the active filter misleading; preserve the boolean value or provide a distinct option/label for the false case.
Useful? React with 👍 / 👎.
…ox' into jakehwll/audit-log-filters-combobox
Generated by Coder Agents on behalf of Jake Howell.
Merge main into the template filter combobox branch, preserving system-user suggestions and the shared filter query client type. Add namespaced cache keys to the Users page filter categories. Generated by Coder Agents on behalf of Jake Howell.
Use the shared filter combobox accessible name and open the Author menu before checking user suggestions in the AI Settings template stories. Generated by Coder Agents on behalf of Jake Howell.
Use me naming consistently and remove the pass-through template filter hook. Document why the shared user loader can fetch through the query client. Strengthen cache-isolation and permission coverage, add the self-only author story, and clarify the compatibility-mode filter instructions.
Replace the legacy organization member filter controls with the shared
FilterCombobox, matching the workspace, template, and audit log filtering UI.Wording alignment
Use “User type” and “User type is…” to match the deployment Users filter from #29809. Keep the organization-specific “Search and filter members…” placeholder and existing filter behavior.