diff --git a/apps/server/src/modules/server/api/dto/config.response.ts b/apps/server/src/modules/server/api/dto/config.response.ts index 9fe1276ab7f..87fa2771d38 100644 --- a/apps/server/src/modules/server/api/dto/config.response.ts +++ b/apps/server/src/modules/server/api/dto/config.response.ts @@ -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; @@ -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; } } diff --git a/apps/server/src/modules/server/api/test/server.api.spec.ts b/apps/server/src/modules/server/api/test/server.api.spec.ts index 6b7c73821ac..a0a844e3f99 100644 --- a/apps/server/src/modules/server/api/test/server.api.spec.ts +++ b/apps/server/src/modules/server/api/test/server.api.spec.ts @@ -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', ]; diff --git a/apps/server/src/modules/server/server.config.ts b/apps/server/src/modules/server/server.config.ts index 3b55a49ee4a..98703dd62db 100644 --- a/apps/server/src/modules/server/server.config.ts +++ b/apps/server/src/modules/server/server.config.ts @@ -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; @@ -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( diff --git a/config/default.schema.json b/config/default.schema.json index 1a8d4b82275..49275e94272 100644 --- a/config/default.schema.json +++ b/config/default.schema.json @@ -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", @@ -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": []