Remove localization feature flag and improve CI workflow (#10208)

This commit is contained in:
Félix Malfait
2025-02-14 09:41:35 +01:00
committed by GitHub
parent f2da915b20
commit 1090fb8fad
9 changed files with 46 additions and 88 deletions

View File

@ -7,23 +7,11 @@ type FeatureFlagMetadata = {
};
export type PublicFeatureFlag = {
key: Extract<
FeatureFlagKey,
FeatureFlagKey.IsLocalizationEnabled | FeatureFlagKey.IsWorkflowEnabled
>;
key: Extract<FeatureFlagKey, FeatureFlagKey.IsWorkflowEnabled>;
metadata: FeatureFlagMetadata;
};
export const PUBLIC_FEATURE_FLAGS: PublicFeatureFlag[] = [
{
key: FeatureFlagKey.IsLocalizationEnabled,
metadata: {
label: 'Localization',
description:
"Enable this and go to Settings > Experience to change your account's language. You can also help us improve the translations on Github.",
imagePath: 'https://twenty.com/images/releases/labs/translation.png',
},
},
{
key: FeatureFlagKey.IsWorkflowEnabled,
metadata: {

View File

@ -11,7 +11,6 @@ export enum FeatureFlagKey {
IsCommandMenuV2Enabled = 'IS_COMMAND_MENU_V2_ENABLED',
IsJsonFilterEnabled = 'IS_JSON_FILTER_ENABLED',
IsCustomDomainEnabled = 'IS_CUSTOM_DOMAIN_ENABLED',
IsLocalizationEnabled = 'IS_LOCALIZATION_ENABLED',
IsBillingPlansEnabled = 'IS_BILLING_PLANS_ENABLED',
IsRichTextV2Enabled = 'IS_RICH_TEXT_V2_ENABLED',
IsNewRelationEnabled = 'IS_NEW_RELATION_ENABLED',