feat(DataCollection): Eq filter #1670
Draft
+892
−25
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Added a new EqFilter component to the OneDataCollection system that allows users to select exactly one option from a list, with the ability to deselect their choice.
Key Features
Following Existing Patterns
I've carefully matched the existing component structure, maintaining consistency with naming conventions, animations, TypeScript patterns, and general design language.
Perfect for Boolean GraphQL Filters
This component was necessary for building interfaces that connect to GraphQL queries with boolean filters:
The EqFilter provides a natural UI for these true/false filters, creating a seamless connection between interface and API.
Use Cases
Ideal for status selectors, boolean filters, type selectors, and any scenario requiring single-option selection from a defined list.
Screenshots (if applicable)
Grabacion.de.pantalla.2025-04-28.a.las.11.49.45.mov
Grabacion.de.pantalla.2025-04-28.a.las.11.51.08.mov
Grabacion.de.pantalla.2025-04-28.a.las.12.17.54.mov
Type of Change