You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(FR-1370): Property filter component for GraphQL v2 filter type (#4170)
Resolves#4143 ([FR-1370](https://lablup.atlassian.net/browse/FR-1370))
# Introduce BAIGraphQLPropertyFilter Component
This PR introduces a new `BAIGraphQLPropertyFilter` component that provides an advanced filtering interface for GraphQL-based [Backend.AI](http://Backend.AI) applications. The component allows users to construct complex filter conditions that can be directly used in GraphQL queries.
Key features:
- Support for various GraphQL filter types (String, Number, Boolean, Enum)
- Flexible combination modes (AND/OR) for multiple filter conditions
- Rich set of operators (eq, ne, contains, startsWith, endsWith, gt, gte, lt, lte, in, notIn)
- Type-safe filtering with automatic operator suggestions based on property types
- Bidirectional conversion between UI conditions and GraphQL filter objects
- Validation rules and autocomplete suggestions for improved data integrity
The PR also includes comprehensive Storybook documentation with multiple examples demonstrating different use cases and configurations.
Additionally, updates the GraphQL transformer to be compatible with version 25.12.0 instead of 25.14.0.
[FR-1370]: https://lablup.atlassian.net/browse/FR-1370?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
0 commit comments