From fa9f88f6f60df61d5b67a62b0bd0262276cb7326 Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Sat, 13 Jun 2026 11:39:29 -0700 Subject: [PATCH] improve stream sidebar experience and avatar affordance (#284) * fix awkward stream list experience * fix avatar change affordance * cleanup unnecessary logic * cleanup unnecessary logic and complexity * unused var --- js/desktop/src/components/ui/scroll-area.tsx | 2 +- .../particles/stream-list-sidebar.tsx | 11 ++---- .../src/features/particles/stream-view.tsx | 7 +--- js/desktop/src/features/settings-page.tsx | 9 +++-- js/desktop/src/hooks/use-stream-view-mode.ts | 39 +++---------------- 5 files changed, 16 insertions(+), 52 deletions(-) diff --git a/js/desktop/src/components/ui/scroll-area.tsx b/js/desktop/src/components/ui/scroll-area.tsx index b17197b..611a5ce 100644 --- a/js/desktop/src/components/ui/scroll-area.tsx +++ b/js/desktop/src/components/ui/scroll-area.tsx @@ -16,7 +16,7 @@ function ScrollArea({ > {children} diff --git a/js/desktop/src/features/particles/stream-list-sidebar.tsx b/js/desktop/src/features/particles/stream-list-sidebar.tsx index e8a0d5e..db4630f 100644 --- a/js/desktop/src/features/particles/stream-list-sidebar.tsx +++ b/js/desktop/src/features/particles/stream-list-sidebar.tsx @@ -10,7 +10,6 @@ import { KeyHint } from '@/components/key-hint'; import { ScrollArea } from '@/components/ui/scroll-area'; interface StreamListSidebarProps { - streamName: string; items: Particle[]; networkId: string; currentIndex: number; @@ -24,7 +23,6 @@ interface StreamListSidebarProps { * nothing auto-advances. */ export function StreamListSidebar({ - streamName, items, networkId, currentIndex, @@ -41,13 +39,12 @@ export function StreamListSidebar({ }, [currentIndex]); return ( -