Files
plane/apps
Prateek Shourya ca59bc23aa [WEB-4765] improvement: update filter structure and improve type safety for rich filters (#3942)
* refactor: update filter structure and improve type safety across automation and rich filters

- Changed filter property types to use TFilterProperty and TFilterValue for better type consistency.
- Updated various components and hooks to utilize new type definitions, enhancing type safety.
- Refactored filter configuration and adapter logic to accommodate the new types, ensuring compatibility with existing functionality.
- Improved handling of filter expressions and conditions, streamlining the overall filter management process.

* chore: restructure rich filter utils

* refactor: optimize filter value handling and update automation condition types

- Removed unnecessary condition checks in automation details sidebar trigger.
- Enhanced filter value input to handle empty states more gracefully.
- Updated filter helper methods to return both optimal operator and transformed value.
- Adjusted filter instance logic to accommodate changes in operator and value updates.
- Modified type definitions for automation conditions and filter configurations to support SingleOrArray types.
- Added utility functions for transforming values based on operator requirements.

* fix: handle single-value operators in automation condition filters
2025-08-27 21:01:47 +05:30
..
2025-08-20 02:24:12 +05:30