From 503e483b8211affac63e7ee890f499e654336be6 Mon Sep 17 00:00:00 2001 From: Jannis Braun <151788261+TheZwiss@users.noreply.github.com> Date: Thu, 19 Feb 2026 07:10:31 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20Unified=20floating=20bottom=20panel=20?= =?UTF-8?q?=E2=80=94=20voice=20controls=20+=20user=20area=20in=20one=20car?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Restructure VoiceControls and UserAreaPanel into a single fixed-positioned floating card that spans both server and channel sidebars. Panel expands when voice is connected and contracts to just user area when not. --- .../src/components/layout/ChannelSidebar.tsx | 61 +++++++++---------- .../src/components/voice/VoiceControls.tsx | 45 +++++++------- 2 files changed, 53 insertions(+), 53 deletions(-) diff --git a/packages/web/src/components/layout/ChannelSidebar.tsx b/packages/web/src/components/layout/ChannelSidebar.tsx index 1d8ba612..172bbc21 100644 --- a/packages/web/src/components/layout/ChannelSidebar.tsx +++ b/packages/web/src/components/layout/ChannelSidebar.tsx @@ -74,15 +74,37 @@ export function ChannelSidebar() { navigate(`/channels/${currentServerId}/${channelId}`); }; + // Floating bottom panel — shared between DM view and server view + const floatingPanel = user ? ( +