Skip to content

The open alternative to Salesforce, designed for AI.

Add the MORPH feature in the LAB (#15126)

Guillime975fbe2179d
diff --git a/packages/twenty-server/src/engine/core-modules/feature-flag/constants/public-feature-flag.const.ts b/packages/twenty-server/src/engine/core-modules/feature-flag/constants/public-feature-flag.const.ts
index 87864255481..767a5a82619 100644
--- a/packages/twenty-server/src/engine/core-modules/feature-flag/constants/public-feature-flag.const.ts
+++ b/packages/twenty-server/src/engine/core-modules/feature-flag/constants/public-feature-flag.const.ts
@@ -39,6 +39,15 @@ export const PUBLIC_FEATURE_FLAGS: PublicFeatureFlag[] = [
imagePath: 'https://twenty.com/images/lab/is-calendar-view-enabled.png',
},
},
+ {
+ key: FeatureFlagKey.IS_MORPH_RELATION_ENABLED,
+ metadata: {
+ label: 'Morph Relations',
+ description:
+ 'Create polymorphic relationships that can link to multiple object types',
+ imagePath: 'https://twenty.com/images/lab/is-morph-relation-enabled.png',
+ },
+ },
...(process.env.CLOUDFLARE_API_KEY
? [
// {
diff --git a/packages/twenty-website/public/images/lab/is-morph-relation-enabled.png b/packages/twenty-website/public/images/lab/is-morph-relation-enabled.png
new file mode 100644
index 00000000000..4ad44d961af
Binary files /dev/null and b/packages/twenty-website/public/images/lab/is-morph-relation-enabled.png differ