-
Notifications
You must be signed in to change notification settings - Fork 189
Open
Description
Description
Currently, the filters in the OSS Projects section only allow single selection (radio buttons).
This is limiting because users often want to search for projects that match multiple criteria.
Example: I want to find projects using both JavaScript AND TypeScript, but I can only select one at a time.
Current Behavior
- Filters use
RadioGroupcomponents (single-select) - User can only pick ONE option per filter category
- Filter state stores single
stringvalues
Expected Behavior
- Filters should use checkboxes (multi-select)
- User can select multiple options per category (e.g., JavaScript + TypeScript)
- Filter state should support
string[]arrays
Affected Filters
- Tech stack
- Popularity
- Competition
- Stage
- Activity
Technical Notes
The current implementation is in:
- apps/web/src/components/ui/Filter.tsx - Uses
RadioGroupinstead ofCheckbox - apps/web/src/types/filter.ts - UserInputFilterProps uses
stringinstead ofstring[] - apps/web/src/utils/converter.ts - Query builder would need to handle arrays
Screenshots
Suggested Implementation Approach
- Replace
RadioGroupwithCheckboxcomponents - Update filter types from
stringtostring[] - Modify the GitHub query builder to use OR logic for multiple selections
coderabbitai
Metadata
Metadata
Assignees
Labels
No labels