mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-26 15:34:26 +00:00
refine(sidebar): show Agent/Pipeline marker as icon only
Drop the text label; keep the icon with a title tooltip so names have more room in the narrow sidebar. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -726,15 +726,19 @@ function NavItems({
|
||||
) : null}
|
||||
<span className="truncate">{item.name}</span>
|
||||
{item.kind && (
|
||||
<span className="ml-auto flex shrink-0 items-center gap-0.5 text-[10px] text-muted-foreground">
|
||||
<span
|
||||
className="ml-auto flex shrink-0 items-center text-muted-foreground"
|
||||
title={
|
||||
item.kind === 'pipeline'
|
||||
? t('agents.kindBadgePipeline')
|
||||
: t('agents.kindBadgeAgent')
|
||||
}
|
||||
>
|
||||
{item.kind === 'pipeline' ? (
|
||||
<Workflow className="size-3" />
|
||||
<Workflow className="size-3.5" />
|
||||
) : (
|
||||
<Bot className="size-3" />
|
||||
<Bot className="size-3.5" />
|
||||
)}
|
||||
{item.kind === 'pipeline'
|
||||
? t('agents.kindBadgePipeline')
|
||||
: t('agents.kindBadgeAgent')}
|
||||
</span>
|
||||
)}
|
||||
{item.debug && (
|
||||
|
||||
Reference in New Issue
Block a user