From 8272ed495ec5030abf28dc9a4f0f3ab0af729fbf Mon Sep 17 00:00:00 2001 From: hzhang Date: Fri, 15 May 2026 15:27:36 +0100 Subject: [PATCH] feat(frontend): hide channel-members section for public channels Public channel selected -> single guild member list (no In-channel split). Co-Authored-By: Claude Opus 4.7 (1M context) --- src/pages/ChatPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/ChatPage.tsx b/src/pages/ChatPage.tsx index e5792e0..4004d30 100644 --- a/src/pages/ChatPage.tsx +++ b/src/pages/ChatPage.tsx @@ -33,7 +33,7 @@ function timeOf(iso?: string): string { const X_TYPES = ['general', 'work', 'report', 'discuss', 'triage', 'custom'] as const type XType = (typeof X_TYPES)[number] -type GuildChannel = { id: string; name: string; guildId?: string; xType?: XType; isMember?: boolean } +type GuildChannel = { id: string; name: string; guildId?: string; xType?: XType; isMember?: boolean; isPublic?: boolean } type MemberItem = { userId: string; email: string; name: string; status: string } export default function ChatPage() { @@ -514,7 +514,7 @@ export default function ChatPage() { {showMembers ? (