From c99f0cad039f79e46b0dd6820919fd5c2c831935 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Tue, 30 Sep 2025 17:04:09 +0200 Subject: [PATCH] frontend: enhance color picker with tooltips and improve layout for better usability --- .../console/config/config.component.html | 13 ++++++++- .../console/config/config.component.scss | 28 +++++++++++++++++-- .../pages/console/config/config.component.ts | 10 +++---- 3 files changed, 43 insertions(+), 8 deletions(-) diff --git a/frontend/projects/shared-meet-components/src/lib/pages/console/config/config.component.html b/frontend/projects/shared-meet-components/src/lib/pages/console/config/config.component.html index 2f6eb10..5d3cf3a 100644 --- a/frontend/projects/shared-meet-components/src/lib/pages/console/config/config.component.html +++ b/frontend/projects/shared-meet-components/src/lib/pages/console/config/config.component.html @@ -89,7 +89,18 @@
@for (colorConfig of colorFields; track colorConfig.key) {
- {{ colorConfig.label }} +
+ {{ colorConfig.label }} + + info + +
= [ - { key: 'backgroundColor', label: 'Main Background' }, - { key: 'primaryColor', label: 'Button Colors' }, - { key: 'secondaryColor', label: 'Secondary Color' }, - { key: 'surfaceColor', label: 'Panels & Cards' } + colorFields: Array<{ key: ColorField; label: string, description: string }> = [ + { key: 'backgroundColor', label: 'Meeting Background', description: 'The background color of your meeting screen' }, + { key: 'primaryColor', label: 'Control buttons', description: 'The color of the main control buttons (e.g., microphone, camera)' }, + { key: 'secondaryColor', label: 'Highlights & accents', description: 'Colors for active states, borders, and participant names' }, + { key: 'surfaceColor', label: 'Side panels & boxes', description: 'Background color for side panels and dialog boxes' } ]; private initialFormValue: MeetRoomTheme | null = null;