Skip to content

[Manager] Implement search filters #4193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

christian-byrne
Copy link
Contributor

@christian-byrne christian-byrne commented Jun 16, 2025

Adds getFilterableFields(): SearchFilter[] to node pack search provider interface, which all search providers must implement.

Implements search filtering for Comfy Registry search provider, adjusting logic based on whether targeting /nodes or /nodes/search (openapi spec) endpoints. Current filters are:

  • Supported OS
  • Supported GPU
  • Updated after

OS and GPU filters should be auto-populated based on user's system.

Selection_1516

Algolia filter implementation will be done in followup PR. When provider gives empty list of filters, the component is simply not rendered.

┆Issue is synchronized with this Notion page by Unito

Simplify filter UI by using SearchFilterDropdown for all filters

- Remove complex template logic with Dropdown and MultiSelect components
- Use SearchFilterDropdown component for all filters (consistent with sort/mode dropdowns)
- Remove multi-select support to simplify implementation
- Add placeholder and clear functionality to SearchFilterDropdown
@christian-byrne
Copy link
Contributor Author

Can rebase on #4196 after it is merged, most likely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant