Abdul Rahman
63c9af54f5
feat: implement TS vector search filter ( #12392 )
...
Closes #12427
This PR introduces a comprehensive search filter system that enhances
the application's data filtering capabilities. At its core, the
implementation leverages a custom useSearchFilter hook that manages
search state and operations, providing a consistent search experience
across different components. The search functionality is optimized for
performance through debounced operations (500ms) and efficient state
management using Recoil. Users can trigger search through keyboard
shortcuts (Ctrl/Cmd + F) or UI interactions, with the system maintaining
search state persistence and providing clear visual feedback. The
implementation integrates seamlessly with the existing record filtering
system, view bar components, and advanced filter system, while ensuring
good performance through optimized re-renders and component state
isolation.
https://github.com/user-attachments/assets/12936189-fba8-44b3-a30c-d8cb6d6bd514
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
Co-authored-by: Félix Malfait <felix@twenty.com >
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Marie <51697796+ijreilly@users.noreply.github.com >
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
Co-authored-by: Jordan Chalupka <9794216+jordan-chalupka@users.noreply.github.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
Co-authored-by: Thomas Trompette <thomas.trompette@sfr.fr >
Co-authored-by: Guillim <guillim@users.noreply.github.com >
Co-authored-by: Raphaël Bosi <71827178+bosiraphael@users.noreply.github.com >
Co-authored-by: jaspass04 <147055860+jaspass04@users.noreply.github.com >
Co-authored-by: martmull <martmull@hotmail.fr >
Co-authored-by: Thomas des Francs <tdesfrancs@gmail.com >
Co-authored-by: Etienne <45695613+etiennejouan@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@twenty.com >
Co-authored-by: Weiko <corentin@twenty.com >
Co-authored-by: Matt Dvertola <64113801+mdvertola@users.noreply.github.com >
Co-authored-by: guillim <guigloo@msn.com >
Co-authored-by: Zeroday BYTE <github@zerodaysec.org >
2025-06-04 15:07:52 +02:00
Charles Bochet
fb42046033
Refacto views ( #10272 )
...
In this huge (sorry!) PR:
- introducing objectMetadataItem in contextStore instead of
objectMetadataId which is more convenient
- splitting some big hooks into smaller parts to avoid re-renders
- removing Effects to avoid re-renders (especially onViewChange)
- making the view prefetch separate from favorites to avoid re-renders
- making the view prefetch load a state and add selectors on top of it
to avoir re-renders
As a result, the performance is WAY better (I suspect the favorite
implementation to trigger a lot of re-renders unfortunately).
However, we are still facing a random app freeze on view creation. I
could not investigate the root cause. As this seems to be already there
in the precedent release, we can move forward but this seems a urgent
follow up to me ==> EDIT: I've found the root cause after a few ours of
deep dive... an infinite loop in RecordTableNoRecordGroupBodyEffect...
prastoin edit: close https://github.com/twentyhq/twenty/issues/10253
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
Co-authored-by: prastoin <paul@twenty.com >
2025-02-18 13:51:07 +01:00
Lucas Bordeau
70e5cdfe83
Remove filter definition ( #10227 )
...
This PR removes completely filter definition usage and states,
everything is now derived from fieldMetadataItem.
2025-02-14 17:37:34 +00:00
Félix Malfait
85c04c8931
Performance improvement to dev xp ( #9294 )
...
The DX is not great when you need to do a lot of database
resets/command.
Should we disable Typescript validation to speed things up? With this
and caching database:reset takes 1min instead of 2 on my machine.
See also: https://github.com/typeorm/typeorm/issues/4136
And #9291 / #9293
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2025-01-01 17:28:45 +01:00
eliasylonen
86d74724fb
Current workspace member filter ( #8016 ) ( #9182 )
...
New branch based on feedback in PR #8950 and issue #8016
---------
Co-authored-by: ad-elias <elias@autodiligence.com >
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-12-23 18:55:13 +01:00
ad-elias
ef5cc80440
Enable array filtering ( #8538 )
...
- Set array filtering always enabled
- Rename `IS_ARRAY_AND_JSON_FILTER_ENABLED ` TO
`IS_JSON_FILTER_ENABLED`.
2024-11-18 09:38:46 +01:00
gitstart-app[bot]
7b10bfa7d2
Add filter on array and jsonb field types ( #7839 )
...
This PR was created by [GitStart](https://gitstart.com/ ) to address the
requirements from this ticket:
[TWNTY-6784](https://clients.gitstart.com/twenty/5449/tickets/TWNTY-6784 ).
This ticket was imported from:
[TWNTY-6784](https://github.com/twentyhq/twenty/issues/6784 )
---
### Description
- Add filter on array and jsonb field types
- We did not implement the contains any filter for arrays on the
frontend because we would need to change the UI design since this should
be an array of values, and now we have only one input
### Demo
<https://www.loom.com/share/0facf752b63f4120b5d4ea4ee9772d35?sid=d7bde469-e6a9-4298-a637-d81d40695a86 >
Fixes #6784
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: gitstart-twenty <140154534+gitstart-twenty@users.noreply.github.com >
Co-authored-by: Weiko <corentin@twenty.com >
2024-10-21 18:11:02 +02:00
Lucas Bordeau
1b0759ef2f
Fix post merge revamp navigation bar ( #6297 )
...
Closes #6285
@charlesBochet Also added some more utils for our component state v2.
2024-07-19 14:24:47 +02:00