From 5977f5ab66bbdc958125baf66066dc9466311848 Mon Sep 17 00:00:00 2001 From: Gianmarco Simone Date: Tue, 8 Sep 2026 16:29:37 +0200 Subject: [PATCH] feat(web): show project favicon in new-thread project picker Render ProjectFavicon next to the project name in the DraftHeroHeadline trigger and in each dropdown item, matching the sidebar project scope menu. Co-Authored-By: Claude Fable 5.1 --- .../src/components/chat/DraftHeroHeadline.tsx | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/apps/web/src/components/chat/DraftHeroHeadline.tsx b/apps/web/src/components/chat/DraftHeroHeadline.tsx index 98f9caa2300a..b8de82ff2794 100644 --- a/apps/web/src/components/chat/DraftHeroHeadline.tsx +++ b/apps/web/src/components/chat/DraftHeroHeadline.tsx @@ -15,6 +15,7 @@ import { } from "~/sidebarProjectGrouping"; import { useProjects, useThreadShells } from "~/state/entities"; import { useEnvironments, usePrimaryEnvironmentId } from "~/state/environments"; +import { ProjectFavicon } from "../ProjectFavicon"; import { sortLogicalProjectsForSidebar } from "../Sidebar.logic"; import { Menu, @@ -114,11 +115,14 @@ export function DraftHeroHeadline({ render={ } > - {activeProjectDisplayName ?? "Choose a project"} + {activeProjectGroup ? ( + + ) : null} + {activeProjectDisplayName ?? "Choose a project"} {activeProjectDisplayName ? ( @@ -164,7 +168,13 @@ export function DraftHeroHeadline({ > {projectPickerEntries.map(({ group }) => { return ( - + + }> {group.displayName}