From 68c5ce7cd2fb3624d2f945a7d42e4976f7893e30 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Mon, 1 Dec 2025 12:25:51 +0100 Subject: [PATCH] frontend: Refactors layout and feature configurations Consolidates layout management into a dedicated component and service. - Replaces layout selection logic with feature-based approach. - Improves code readability and maintainability. --- .../meeting-custom-layout.component.html | 12 +- .../meeting-custom-layout.component.ts | 230 ++++++------------ ...meeting-settings-extensions.component.html | 6 +- .../meeting-settings-extensions.component.ts | 4 +- ...g-toolbar-more-options-menu.component.html | 2 +- ...ing-toolbar-more-options-menu.component.ts | 4 +- .../src/lib/models/app.model.ts | 33 +++ .../lib/pages/meeting/meeting.component.ts | 2 +- .../services/feature-configuration.service.ts | 35 +-- .../src/lib/services/layout.service.ts | 208 ++++++++-------- .../meeting/meeting-context.service.ts | 4 +- 11 files changed, 232 insertions(+), 308 deletions(-) diff --git a/meet-ce/frontend/projects/shared-meet-components/src/lib/customization/components/meeting-custom-layout/meeting-custom-layout.component.html b/meet-ce/frontend/projects/shared-meet-components/src/lib/customization/components/meeting-custom-layout/meeting-custom-layout.component.html index ed89606a..6c23bc29 100644 --- a/meet-ce/frontend/projects/shared-meet-components/src/lib/customization/components/meeting-custom-layout/meeting-custom-layout.component.html +++ b/meet-ce/frontend/projects/shared-meet-components/src/lib/customization/components/meeting-custom-layout/meeting-custom-layout.component.html @@ -1,14 +1,14 @@ @if (meetingContextService.lkRoom()) { - - @if (showMeetingLinkOverlay()) { + + @if (shouldShowLinkOverlay()) {