Add search any field front logic with its feature flag (#13278)

This PR adds the frontend logic to handle the user input of a search any
field value.

It also adds the associated feature flag, that can be modified from the
admin panel.

This PR does not add the filtering part nor the saving on view logic,
which will come in their separate PRs.



https://github.com/user-attachments/assets/6a52c090-b957-46aa-bff7-a90b51109789
This commit is contained in:
Lucas Bordeau
2025-07-18 15:38:56 +02:00
committed by GitHub
parent ce1d1f5bdd
commit 2f9c16f8a7
23 changed files with 363 additions and 6 deletions

View File

@ -11,4 +11,5 @@ export enum FeatureFlagKey {
IS_RELATION_CONNECT_ENABLED = 'IS_RELATION_CONNECT_ENABLED',
IS_WORKSPACE_API_KEY_WEBHOOK_GRAPHQL_ENABLED = 'IS_WORKSPACE_API_KEY_WEBHOOK_GRAPHQL_ENABLED',
IS_FIELDS_PERMISSIONS_ENABLED = 'IS_FIELDS_PERMISSIONS_ENABLED',
IS_ANY_FIELD_SEARCH_ENABLED = 'IS_ANY_FIELD_SEARCH_ENABLED',
}

View File

@ -107,6 +107,7 @@ describe('WorkspaceEntityManager', () => {
IS_RELATION_CONNECT_ENABLED: false,
IS_WORKSPACE_API_KEY_WEBHOOK_GRAPHQL_ENABLED: false,
IS_FIELDS_PERMISSIONS_ENABLED: false,
IS_ANY_FIELD_SEARCH_ENABLED: false,
},
eventEmitterService: {
emitMutationEvent: jest.fn(),

View File

@ -55,6 +55,11 @@ export const seedFeatureFlags = async (
workspaceId: workspaceId,
value: true,
},
{
key: FeatureFlagKey.IS_ANY_FIELD_SEARCH_ENABLED,
workspaceId: workspaceId,
value: true,
},
])
.execute();
};