File tree 6 files changed +1
-20
lines changed
pages/settings/data-model/SettingsObjectNewField
database/typeorm-seeds/core
core-modules/feature-flag
workspace-manager/workspace-sync-metadata/commands
6 files changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,4 @@ export type FeatureFlagKey =
4
4
| 'IS_EVENT_OBJECT_ENABLED'
5
5
| 'IS_AIRTABLE_INTEGRATION_ENABLED'
6
6
| 'IS_POSTGRESQL_INTEGRATION_ENABLED'
7
- | 'IS_STRIPE_INTEGRATION_ENABLED'
8
- | 'IS_LINKS_FIELD_ENABLED' ;
7
+ | 'IS_STRIPE_INTEGRATION_ENABLED' ;
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ import { Section } from '@/ui/layout/section/components/Section';
32
32
import { Breadcrumb } from '@/ui/navigation/bread-crumb/components/Breadcrumb' ;
33
33
import { View } from '@/views/types/View' ;
34
34
import { ViewType } from '@/views/types/ViewType' ;
35
- import { useIsFeatureEnabled } from '@/workspace/hooks/useIsFeatureEnabled' ;
36
35
import { FieldMetadataType } from '~/generated-metadata/graphql' ;
37
36
import { isDefined } from '~/utils/isDefined' ;
38
37
import { isUndefinedOrNull } from '~/utils/isUndefinedOrNull' ;
@@ -112,8 +111,6 @@ export const SettingsObjectNewFieldStep2 = () => {
112
111
const { createOneRelationMetadataItem : createOneRelationMetadata } =
113
112
useCreateOneRelationMetadataItem ( ) ;
114
113
115
- const isLinksFieldEnabled = useIsFeatureEnabled ( 'IS_LINKS_FIELD_ENABLED' ) ;
116
-
117
114
if ( ! activeObjectMetadataItem ) return null ;
118
115
119
116
const canSave =
@@ -263,7 +260,6 @@ export const SettingsObjectNewFieldStep2 = () => {
263
260
FieldMetadataType . Email ,
264
261
FieldMetadataType . FullName ,
265
262
FieldMetadataType . Link ,
266
- isLinksFieldEnabled ? undefined : FieldMetadataType . Links ,
267
263
FieldMetadataType . Numeric ,
268
264
FieldMetadataType . Probability ,
269
265
FieldMetadataType . Uuid ,
Original file line number Diff line number Diff line change @@ -50,12 +50,6 @@ export const mockDefaultWorkspace: Workspace = {
50
50
value : true ,
51
51
workspaceId : '7dfbc3f7-6e5e-4128-957e-8d86808cdf6w' ,
52
52
} ,
53
- {
54
- id : '1492de61-5018-4368-8923-4f1eeaf988c7' ,
55
- key : 'IS_LINKS_FIELD_ENABLED' ,
56
- value : true ,
57
- workspaceId : '7dfbc3f7-6e5e-4128-957e-8d86808cdf6w' ,
58
- } ,
59
53
] ,
60
54
createdAt : '2023-04-26T10:23:42.33625+00:00' ,
61
55
updatedAt : '2023-04-26T10:23:42.33625+00:00' ,
Original file line number Diff line number Diff line change @@ -45,11 +45,6 @@ export const seedFeatureFlags = async (
45
45
workspaceId : workspaceId ,
46
46
value : true ,
47
47
} ,
48
- {
49
- key : FeatureFlagKeys . IsLinksFieldEnabled ,
50
- workspaceId : workspaceId ,
51
- value : true ,
52
- } ,
53
48
{
54
49
key : FeatureFlagKeys . IsContactCreationForSentAndReceivedEmailsEnabled ,
55
50
workspaceId : workspaceId ,
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ export enum FeatureFlagKeys {
22
22
IsPostgreSQLIntegrationEnabled = 'IS_POSTGRESQL_INTEGRATION_ENABLED' ,
23
23
IsStripeIntegrationEnabled = 'IS_STRIPE_INTEGRATION_ENABLED' ,
24
24
IsGmailSyncV2Enabled = 'IS_GMAIL_SYNC_V2_ENABLED' ,
25
- IsLinksFieldEnabled = 'IS_LINKS_FIELD_ENABLED' ,
26
25
IsContactCreationForSentAndReceivedEmailsEnabled = 'IS_CONTACT_CREATION_FOR_SENT_AND_RECEIVED_EMAILS_ENABLED' ,
27
26
}
28
27
Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ export class AddStandardIdCommand extends CommandRunner {
59
59
IS_POSTGRESQL_INTEGRATION_ENABLED : true ,
60
60
IS_STRIPE_INTEGRATION_ENABLED : false ,
61
61
IS_GMAIL_SYNC_V2_ENABLED : true ,
62
- IS_LINKS_FIELD_ENABLED : true ,
63
62
IS_CONTACT_CREATION_FOR_SENT_AND_RECEIVED_EMAILS_ENABLED : true ,
64
63
} ,
65
64
) ;
@@ -76,7 +75,6 @@ export class AddStandardIdCommand extends CommandRunner {
76
75
IS_POSTGRESQL_INTEGRATION_ENABLED : true ,
77
76
IS_STRIPE_INTEGRATION_ENABLED : false ,
78
77
IS_GMAIL_SYNC_V2_ENABLED : true ,
79
- IS_LINKS_FIELD_ENABLED : true ,
80
78
IS_CONTACT_CREATION_FOR_SENT_AND_RECEIVED_EMAILS_ENABLED : true ,
81
79
} ,
82
80
) ;
You can’t perform that action at this time.
0 commit comments