Open Bonapara opened 1 month ago
Create Search Field
Update Metadata
Filter Menu Integration
/packages/twenty-front/src/modules/object-record/record-index/options/components/RecordIndexOptionsDropdownContent.tsx
Search Logic
/packages/twenty-front/src/modules/views/hooks/internal/useViewFilters.ts
UI Updates
/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerCreateOrEditContent.tsx
Testing
/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexContainer.tsx /packages/twenty-front/src/modules/views/hooks/useSaveCurrentViewFields.ts /packages/twenty-front/src/modules/views/hooks/useGetCurrentView.ts /packages/twenty-front/src/modules/views/view-picker/components/ViewPickerCreateOrEditContent.tsx /packages/twenty-front/src/modules/views/hooks /packages/twenty-front/src/modules/views/types/View.ts /packages/twenty-front/src/modules/views/view-picker/components/ViewPickerCreateOrEditContentEffect.tsx /packages/twenty-front/src/modules/object-record/record-index/options/components/RecordIndexOptionsDropdownContent.tsx /packages/twenty-front/src/modules/views/hooks/internal/useViewFilters.ts /packages/twenty-front/src/pages/settings/data-model/SettingsObjectNewField/SettingsObjectNewFieldStep2.tsx
Current Behavior
Currently, to search within a view, you must create a filter on a specific field.
Desired Behavior
We want to enable users to search for a value across multiple fields simultaneously within a view. For example, if I type "ac" in the Companies object, it should find both the record named
Slack
and the Companies record owned byJace
.We would like to introduce a new "Search" field that would contain a "vector". Since it's a field, it should be available in the filter menu. However, we don't want it to be available for display in the views, as it will not be readable.
It should be possible to add other filters alongside this one, as it should function like any other filter.
Design
https://github.com/user-attachments/assets/502f54d2-ce0f-4753-9d1d-4c6b87edd471
https://www.figma.com/design/xt8O9mFeLl46C5InWwoMrN/Twenty?node-id=35106-93609&t=7AIUhbIlhybiZdPQ-11