Add custom domain to Lab and move countBoolean command to 0.44 from 0.50 (#10884)
- Add customs domain to Lab - Moving back countBoolean command to 0.44 from 0.50 (I inadvertently moved it yesterday night...) <img width="592" alt="Screenshot 2025-03-14 at 12 07 44" src="https://github.com/user-attachments/assets/1d8d7b36-f392-4df0-974d-426a55760af2" />
This commit is contained in:
@ -9,7 +9,9 @@ type FeatureFlagMetadata = {
|
||||
export type PublicFeatureFlag = {
|
||||
key: Extract<
|
||||
FeatureFlagKey,
|
||||
FeatureFlagKey.IsWorkflowEnabled | FeatureFlagKey.IsPermissionsEnabled
|
||||
| FeatureFlagKey.IsWorkflowEnabled
|
||||
| FeatureFlagKey.IsPermissionsEnabled
|
||||
| FeatureFlagKey.IsCustomDomainEnabled
|
||||
>;
|
||||
metadata: FeatureFlagMetadata;
|
||||
};
|
||||
@ -32,4 +34,16 @@ export const PUBLIC_FEATURE_FLAGS: PublicFeatureFlag[] = [
|
||||
imagePath: 'https://twenty.com/images/lab/is-permissions-enabled.png',
|
||||
},
|
||||
},
|
||||
...(process.env.CLOUDFLARE_API_KEY
|
||||
? [
|
||||
{
|
||||
key: FeatureFlagKey.IsCustomDomainEnabled as PublicFeatureFlag['key'],
|
||||
metadata: {
|
||||
label: 'Custom Domain',
|
||||
description: 'Customize your workspace URL with your own domain.',
|
||||
imagePath: '',
|
||||
},
|
||||
},
|
||||
]
|
||||
: []),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user