Remove workflow filters from lab (#14017)

As title
This commit is contained in:
Thomas Trompette
2025-08-21 14:30:36 +02:00
committed by GitHub
parent f7709955f6
commit b9b5f9a347
23 changed files with 15 additions and 255 deletions
@@ -40,16 +40,6 @@ export const PUBLIC_FEATURE_FLAGS: PublicFeatureFlag[] = [
'https://twenty.com/images/lab/is-fields-permissions-enabled.png',
},
},
{
key: FeatureFlagKey.IS_WORKFLOW_FILTERING_ENABLED,
metadata: {
label: 'Workflow Filter Step',
description:
'Continue to the next node only if the filter conditions are met',
imagePath:
'https://twenty.com/images/lab/is-worklfow-filtering-enabled.png',
},
},
{
key: FeatureFlagKey.IS_WORKFLOW_BRANCH_ENABLED,
metadata: {
@@ -7,7 +7,6 @@ export enum FeatureFlagKey {
IS_AI_ENABLED = 'IS_AI_ENABLED',
IS_IMAP_SMTP_CALDAV_ENABLED = 'IS_IMAP_SMTP_CALDAV_ENABLED',
IS_MORPH_RELATION_ENABLED = 'IS_MORPH_RELATION_ENABLED',
IS_WORKFLOW_FILTERING_ENABLED = 'IS_WORKFLOW_FILTERING_ENABLED',
IS_WORKFLOW_BRANCH_ENABLED = 'IS_WORKFLOW_BRANCH_ENABLED',
IS_RELATION_CONNECT_ENABLED = 'IS_RELATION_CONNECT_ENABLED',
IS_FIELDS_PERMISSIONS_ENABLED = 'IS_FIELDS_PERMISSIONS_ENABLED',
@@ -12,15 +12,6 @@ describe('featureFlagValidator', () => {
).not.toThrow();
});
it('should not throw error for new workflow filtering feature flag', () => {
expect(() =>
featureFlagValidator.assertIsFeatureFlagKey(
'IS_WORKFLOW_FILTERING_ENABLED',
new UnknownException('Error', 'Error'),
),
).not.toThrow();
});
it('should throw error if featureFlagKey is invalid', () => {
const invalidKey = 'InvalidKey';
const exception = new UnknownException('Error', 'Error');