From 342175fe76e764277ec552a5fb4e90fc4d1c591b Mon Sep 17 00:00:00 2001 From: Pavel <114500142+PavluntiyJ@users.noreply.github.com> Date: Sat, 4 Jul 2026 17:17:44 +0300 Subject: [PATCH] fix(portals): stop live channels sidebar sharing width storage with shell panel (#1114) 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: Pavel 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 876213d48..4cc41cec3 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" >