From 49263fd7b65121f5da9a499a4207c08e6f62e502 Mon Sep 17 00:00:00 2001 From: Pavel Date: Thu, 2 Jul 2026 01:12:50 +0300 Subject: [PATCH] fix(portals): stop live channels sidebar sharing width storage with shell panel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The live-layout channels sidebar (Xtream and Stalker) persisted its width under the shared "sidebar-width" localStorage key — the same key used by the workspace shell context panel. Unlike the shell panel variants, which swap in one slot and never coexist, the channels sidebar is on screen at the same time as the category context panel, so resizing either one silently overwrote the other's stored width and both snapped to the same size after a reload. Give the live channels sidebar its own "live-channels-sidebar-width" key (shared between Xtream and Stalker, which never coexist), matching the precedent already set by unified-live-tab-sidebar-width and m3u-groups-nav-width. The unified key remains in place for the shell slot panels, where sharing is intentional. Co-Authored-By: Claude Fable 5 --- .../stalker-live-stream-layout.component.html | 2 +- .../stalker-live-stream-layout.component.spec.ts | 14 ++++++++++++++ .../live-stream-layout.component.html | 2 +- .../live-stream-layout.component.spec.ts | 15 +++++++++++++++ 4 files changed, 31 insertions(+), 2 deletions(-) diff --git a/libs/portal/stalker/feature/src/lib/stalker-live-stream-layout/stalker-live-stream-layout.component.html b/libs/portal/stalker/feature/src/lib/stalker-live-stream-layout/stalker-live-stream-layout.component.html index 9736602cd..8a98b90c3 100644 --- a/libs/portal/stalker/feature/src/lib/stalker-live-stream-layout/stalker-live-stream-layout.component.html +++ b/libs/portal/stalker/feature/src/lib/stalker-live-stream-layout/stalker-live-stream-layout.component.html @@ -8,7 +8,7 @@ [minWidth]="250" [maxWidth]="600" [defaultWidth]="400" - storageKey="sidebar-width" + storageKey="live-channels-sidebar-width" >