From 96b5cd249e0d5bef6101273a1dc99296b0a1164a Mon Sep 17 00:00:00 2001 From: CSantosM <4a.santos@gmail.com> Date: Fri, 23 Jan 2026 14:28:30 +0100 Subject: [PATCH] testapp: Add captions configuration to room settings and UI --- .../tests/helpers/function-helpers.ts | 3 +- testapp/public/views/index.mustache | 45 +++++++++++++++++++ testapp/src/controllers/homeController.ts | 3 ++ 3 files changed, 50 insertions(+), 1 deletion(-) diff --git a/meet-ce/frontend/webcomponent/tests/helpers/function-helpers.ts b/meet-ce/frontend/webcomponent/tests/helpers/function-helpers.ts index 8408ab69..dbc8e510 100644 --- a/meet-ce/frontend/webcomponent/tests/helpers/function-helpers.ts +++ b/meet-ce/frontend/webcomponent/tests/helpers/function-helpers.ts @@ -163,7 +163,8 @@ const getDefaultRoomConfig = (): MeetRoomConfig => ({ }, chat: { enabled: true }, virtualBackground: { enabled: true }, - e2ee: { enabled: false } + e2ee: { enabled: false }, + captions: { enabled: false } }); // Helper function to create a room for testing diff --git a/testapp/public/views/index.mustache b/testapp/public/views/index.mustache index 9ebe3e2a..b1d88267 100644 --- a/testapp/public/views/index.mustache +++ b/testapp/public/views/index.mustache @@ -365,6 +365,51 @@ + + +
+

+ +

+
+
+
+ + +
+ +
+
+
diff --git a/testapp/src/controllers/homeController.ts b/testapp/src/controllers/homeController.ts index 1f533cf7..247fbd5e 100644 --- a/testapp/src/controllers/homeController.ts +++ b/testapp/src/controllers/homeController.ts @@ -173,6 +173,9 @@ const processFormConfig = (body: any): any => { }, e2ee: { enabled: body['config.e2ee.enabled'] === 'on' + }, + captions: { + enabled: body['config.captions.enabled'] === 'on' } };