Skip to content

Commit

Permalink
BC-7492 - remove layout feature flag (#5106)
Browse files Browse the repository at this point in the history
  • Loading branch information
odalys-dataport authored Jul 23, 2024
1 parent f17596f commit ad055c6
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 13 deletions.
4 changes: 0 additions & 4 deletions apps/server/src/modules/server/api/dto/config.response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,6 @@ export class ConfigResponse {
@ApiProperty()
BOARD_COLLABORATION_URI: string;

@ApiProperty()
FEATURE_NEW_LAYOUT_ENABLED: boolean;

@ApiProperty()
FEATURE_SCHULCONNEX_MEDIA_LICENSE_ENABLED: boolean;

Expand Down Expand Up @@ -283,7 +280,6 @@ export class ConfigResponse {
this.FEATURE_SCHULCONNEX_COURSE_SYNC_ENABLED = config.FEATURE_SCHULCONNEX_COURSE_SYNC_ENABLED;
this.FEATURE_MEDIA_SHELF_ENABLED = config.FEATURE_MEDIA_SHELF_ENABLED;
this.BOARD_COLLABORATION_URI = config.BOARD_COLLABORATION_URI;
this.FEATURE_NEW_LAYOUT_ENABLED = config.FEATURE_NEW_LAYOUT_ENABLED;
this.FEATURE_SCHULCONNEX_MEDIA_LICENSE_ENABLED = config.FEATURE_SCHULCONNEX_MEDIA_LICENSE_ENABLED;
}
}
1 change: 0 additions & 1 deletion apps/server/src/modules/server/api/test/server.api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ describe('Server Controller (API)', () => {
'TLDRAW__ASSETS_MAX_SIZE',
'FEATURE_SCHULCONNEX_COURSE_SYNC_ENABLED',
'FEATURE_MEDIA_SHELF_ENABLED',
'FEATURE_NEW_LAYOUT_ENABLED',
'BOARD_COLLABORATION_URI',
'FEATURE_SCHULCONNEX_MEDIA_LICENSE_ENABLED',
];
Expand Down
2 changes: 0 additions & 2 deletions apps/server/src/modules/server/server.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ export interface ServerConfig
I18N__FALLBACK_LANGUAGE: LanguageType;
I18N__DEFAULT_TIMEZONE: Timezone;
BOARD_COLLABORATION_URI: string;
FEATURE_NEW_LAYOUT_ENABLED: boolean;
SCHULCONNEX_CLIENT__API_URL: string | undefined;
SCHULCONNEX_CLIENT__TOKEN_ENDPOINT: string | undefined;
SCHULCONNEX_CLIENT__CLIENT_ID: string | undefined;
Expand Down Expand Up @@ -264,7 +263,6 @@ const config: ServerConfig = {
FEATURE_SCHULCONNEX_MEDIA_LICENSE_ENABLED: Configuration.get('FEATURE_SCHULCONNEX_MEDIA_LICENSE_ENABLED') as boolean,
PROVISIONING_SCHULCONNEX_LIZENZ_INFO_URL: Configuration.get('PROVISIONING_SCHULCONNEX_LIZENZ_INFO_URL') as string,
BOARD_COLLABORATION_URI: Configuration.get('BOARD_COLLABORATION_URI') as string,
FEATURE_NEW_LAYOUT_ENABLED: Configuration.get('FEATURE_NEW_LAYOUT_ENABLED') as boolean,
FEATURE_CTL_TOOLS_TAB_ENABLED: Configuration.get('FEATURE_CTL_TOOLS_TAB_ENABLED') as boolean,
FEATURE_LTI_TOOLS_TAB_ENABLED: Configuration.get('FEATURE_LTI_TOOLS_TAB_ENABLED') as boolean,
CTL_TOOLS__EXTERNAL_TOOL_MAX_LOGO_SIZE_IN_BYTES: Configuration.get(
Expand Down
7 changes: 1 addition & 6 deletions config/default.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,7 @@
},
"HOSTNAME": {
"type": "string",
"description": "Hostname. Should not be usually defined as it's expected to be taken from the process env."
"description": "Hostname. Should usually not be defined as it's expected to be taken from the process env."
},
"HEALTH_CHECKS_EXCLUDE_MONGODB": {
"type": "boolean",
Expand Down Expand Up @@ -1645,11 +1645,6 @@
"type": "string",
"default": "ws://localhost:4450",
"description": "URL for connecting to the WebSocketServer"
},
"FEATURE_NEW_LAYOUT_ENABLED": {
"type": "boolean",
"default": true,
"description": "Enables the new layout feature"
}
},
"required": []
Expand Down

0 comments on commit ad055c6

Please sign in to comment.