Skip to content

extensions_ui: Respect category filter for installed extensions when searching#49183

Merged
maxdeviant merged 1 commit intomainfrom
push-wxunxnowzkyt
Feb 14, 2026
Merged

extensions_ui: Respect category filter for installed extensions when searching#49183
maxdeviant merged 1 commit intomainfrom
push-wxunxnowzkyt

Conversation

@maxdeviant
Copy link
Member

This PR updates the extensions UI to respect the category filter for already-installed extensions when searching for extensions.

Closes #48628.

Release Notes:

  • The extension search will now properly respect the category filter for extensions that are already installed (#48628).

@maxdeviant maxdeviant self-assigned this Feb 14, 2026
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 14, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Feb 14, 2026
@maxdeviant maxdeviant enabled auto-merge (squash) February 14, 2026 16:05
@maxdeviant maxdeviant merged commit d89ee32 into main Feb 14, 2026
37 checks passed
@maxdeviant maxdeviant deleted the push-wxunxnowzkyt branch February 14, 2026 16:07
maxdeviant added a commit that referenced this pull request Feb 16, 2026
Following up on #49183 which fixed the category filter for remote
extensions.

This PR applies the same category filter logic to **dev extensions**.
Previously, dev extensions were always shown regardless of the selected
category filter (e.g., "Themes", "Languages").

Changes:
- Add `filtered_dev_extension_indices` to track which dev extensions
match the active `provides_filter`
- Add `dev_extension_matches_provides()` helper to map
`ExtensionManifest` fields to `ExtensionProvides` variants
- Update `render_extensions()` and list count to use filtered dev
extension indices

Release Notes:

- Fixed extension category filter not applying to dev extensions in the
extensions panel.

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Marshall Bowers <git@maxdeviant.com>
rtfeldman pushed a commit that referenced this pull request Feb 17, 2026
…searching (#49183)

This PR updates the extensions UI to respect the category filter for
already-installed extensions when searching for extensions.

Closes #48628.

Release Notes:

- The extension search will now properly respect the category filter for
extensions that are already installed
([#48628](#48628)).
rtfeldman pushed a commit that referenced this pull request Feb 17, 2026
Following up on #49183 which fixed the category filter for remote
extensions.

This PR applies the same category filter logic to **dev extensions**.
Previously, dev extensions were always shown regardless of the selected
category filter (e.g., "Themes", "Languages").

Changes:
- Add `filtered_dev_extension_indices` to track which dev extensions
match the active `provides_filter`
- Add `dev_extension_matches_provides()` helper to map
`ExtensionManifest` fields to `ExtensionProvides` variants
- Update `render_extensions()` and list count to use filtered dev
extension indices

Release Notes:

- Fixed extension category filter not applying to dev extensions in the
extensions panel.

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Categories are not considered when searching installed extensions

1 participant