diff --git a/desktop/src/features/sidebar/ui/SidebarSection.tsx b/desktop/src/features/sidebar/ui/SidebarSection.tsx index 1a6403fb24..6c41d9d885 100644 --- a/desktop/src/features/sidebar/ui/SidebarSection.tsx +++ b/desktop/src/features/sidebar/ui/SidebarSection.tsx @@ -1,13 +1,5 @@ import type * as React from "react"; -import { - BellOff, - ChevronDown, - CircleDot, - FileText, - Hash, - Lock, - X, -} from "lucide-react"; +import { BellOff, ChevronDown, CircleDot, X } from "lucide-react"; import { ContextMenu, @@ -18,6 +10,7 @@ import { import { ChannelContextMenuItems } from "@/features/sidebar/ui/ChannelContextMenu"; import type { ActiveChannelTurnSummary } from "@/features/agents/activeAgentTurnsStore"; import { formatElapsed } from "@/features/agents/ui/agentSessionUtils"; +import { ChannelGlyph } from "@/features/channels/ui/ChannelGlyph"; import { getEphemeralChannelDisplay } from "@/features/channels/lib/ephemeralChannel"; import { EphemeralChannelBadge } from "@/features/channels/ui/EphemeralChannelBadge"; import { @@ -239,15 +232,7 @@ function SidebarChannelIcon({ ); } - if (channel.visibility === "private") { - return ; - } - - if (channel.channelType === "forum") { - return ; - } - - return ; + return ; } export function ChannelMenuButton({ diff --git a/desktop/tests/e2e/project-commit-detail.spec.ts b/desktop/tests/e2e/project-commit-detail.spec.ts index 5de32311e7..694a0e3bc2 100644 --- a/desktop/tests/e2e/project-commit-detail.spec.ts +++ b/desktop/tests/e2e/project-commit-detail.spec.ts @@ -292,6 +292,11 @@ test("creating a project opens its channel conversation", async ({ page }) => { await expect( page.getByTestId("chat-header").getByTestId("project-channel-icon"), ).toBeVisible(); + await expect( + page + .getByTestId("channel-multi-repo-demo") + .getByTestId("project-channel-icon"), + ).toBeVisible(); await expect( page.getByTestId("channel-intro-action-add-files"), ).toBeVisible();