authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-09-08 12:33:42-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-08 12:33:42-07:00
log5e6cc2b89534a8e01772bf647b79a1f2da2f9664
treed01777b3d796e396362d33e46f09269bd75b0b50
parent0fe4c99ee6df4cbb7a9064d2d86ece65ecef5eb3
signature Signed by PGP key B5690EEEBB952194

fix(web): restore text-only draft project title (#10821)


1 files changed, 2 insertions(+), 5 deletions(-)

apps/web/src/components/chat/DraftHeroHeadline.tsx+2-5
...@@ -115,14 +115,11 @@ export function DraftHeroHeadline({...@@ -115,14 +115,11 @@ export function DraftHeroHeadline({
115 render={115 render={
116 <MenuTrigger116 <MenuTrigger
117 aria-label={hasResolvedProject ? "Change project" : "Choose a project"}117 aria-label={hasResolvedProject ? "Change project" : "Choose a project"}
118 className="pointer-events-auto inline-flex max-w-64 items-center gap-2 border-foreground/60 border-b border-dotted align-baseline text-foreground transition-colors hover:border-foreground/80 focus-visible:rounded-sm focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring"118 className="pointer-events-auto inline-block max-w-64 truncate border-foreground/60 border-b border-dotted align-baseline text-foreground transition-colors hover:border-foreground/80 focus-visible:rounded-sm focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring"
119 />119 />
120 }120 }
121 >121 >
122 {activeProjectGroup ? (122 {activeProjectDisplayName ?? "Choose a project"}
123 <ProjectFavicon project={activeProjectGroup} className="size-6 shrink-0 sm:size-7" />
124 ) : null}
125 <span className="min-w-0 truncate">{activeProjectDisplayName ?? "Choose a project"}</span>
126 </TooltipTrigger>123 </TooltipTrigger>
127 {activeProjectDisplayName ? (124 {activeProjectDisplayName ? (
128 <TooltipPopup side="top" className="max-w-80">125 <TooltipPopup side="top" className="max-w-80">