From b02591170f901ae81838a1c605d33f20d6c9239d Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Thu, 19 Feb 2026 11:51:45 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(frontend)=20configure=20missing=20?= =?UTF-8?q?participants=20shortcut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Configure missing shortcut in the frontend for the participant side panel. It was accidentally omitted while merging Cyril's changes. --- CHANGELOG.md | 1 + .../components/controls/Participants/ParticipantsToggle.tsx | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7521e20..4515a285 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to ### Added - ✨(frontend) expose Windows app web link #976 +- ✨(frontend) support additional shortcuts to broaden accessibility ### Changed diff --git a/src/frontend/src/features/rooms/livekit/components/controls/Participants/ParticipantsToggle.tsx b/src/frontend/src/features/rooms/livekit/components/controls/Participants/ParticipantsToggle.tsx index e9e7eb1f..056831f6 100644 --- a/src/frontend/src/features/rooms/livekit/components/controls/Participants/ParticipantsToggle.tsx +++ b/src/frontend/src/features/rooms/livekit/components/controls/Participants/ParticipantsToggle.tsx @@ -6,6 +6,7 @@ import { css } from '@/styled-system/css' import { useParticipants } from '@livekit/components-react' import { useSidePanel } from '../../../hooks/useSidePanel' import { ToggleButtonProps } from '@/primitives/ToggleButton' +import { useRegisterKeyboardShortcut } from '@/features/shortcuts/useRegisterKeyboardShortcut' export const ParticipantsToggle = ({ onPress, @@ -27,6 +28,11 @@ export const ParticipantsToggle = ({ const tooltipLabel = isParticipantsOpen ? 'open' : 'closed' + useRegisterKeyboardShortcut({ + id: 'toggle-participants', + handler: toggleParticipants, + }) + return (