twenty
twenty copied to clipboard
Add a record search by label identifier
In CommandMenu, we are searching through all workspace objects (company, person, activity, myCustom...). Also si Activity Target relation picker
Right now, we are doing 1 call per entity, which is not efficient if we have many objects.
We want to be able to do one query containing all these objects.
We can leverage record identifiers to auto generate filterInput, and queried fields.
company(filter: name: like %ss%) { id, name } person(filter: name.firstName: like (%ss%) or name.lastName: like (%ss%) { name.firstname, name.lastname }
use on CommandMenu
companies(filter: name: like } { name, domainName } people(filter: firstName...) { name,
It seems like #3298 would cover this also. Closing this to keep #3298 as the single issue on that topic
@FelixMalfait Agreed