Files
twenty/packages/twenty-front
Lucas Bordeau 777c12dd06 Fix advanced filter creation of group rule (#10690)
This PR improves advanced filter code and fixes the bug that prevented
the creation of a filter group.

On the debugging side : 
- Adding an advanced filter rule to create a group now works

On the refactoring side : 
- We now use AdvancedFilterRecordFilterGroupChildOptionsDropdown to
clarify the code that show the option dropdown of a group.
- Refacatored useCurrentViewViewFilterGroup to
useChildRecordFiltersAndRecordFilterGroups. It is now using only
RecordFilter and RecordFilterGroup type instead of view types. It also
exports recordFilters and recordFilterGroups alone, when they are
children of a group, so we don't have to extract them from the merged
array that is typed RecordFilter | RecordFilterGroup, which is necessary
for displaying a group.
- Two typeguards have been introduced to help discern RecordFilter from
RecordFilterGroup : isRecordFilterGroupChildARecordFilterGroup and
isRecordFilterGroupChildARecordFilter, this allows to remove any typing
on child processing.
- Renaming from view to record (but there are still some left)
2025-03-06 17:57:23 +01:00
..
2024-03-31 10:53:37 +02:00
2025-01-10 20:54:10 +01:00
2025-01-03 15:18:02 +01:00
2025-01-07 16:09:48 +01:00
2025-01-17 12:50:28 +01:00
2025-01-16 23:34:54 +01:00
2025-01-20 23:10:39 +01:00
2024-08-09 08:38:01 +02:00

Run yarn dev while server running on port 3000