Skip to content

The open-source app everyone uses to manage agents at work

Remove namespace from skill list sidebars

Dotta79e0915a86bf
diff --git a/ui/src/pages/AgentDetail.tsx b/ui/src/pages/AgentDetail.tsx
index 64f4c00bb7..624088f0b1 100644
--- a/ui/src/pages/AgentDetail.tsx
+++ b/ui/src/pages/AgentDetail.tsx
@@ -1469,11 +1469,6 @@ function AgentSkillsTab({
<div className="min-w-0 flex-1">
<div className="flex items-center justify-between gap-3">
<div className="min-w-0">
- {skill.key.includes("/") && (
- <div className="truncate font-mono text-[11px] leading-4 text-muted-foreground">
- {skill.key.split("/").slice(0, -1).join("/")}
- </div>
- )}
<span className="truncate font-medium">{skill.name}</span>
</div>
{skill.linkTo ? (
diff --git a/ui/src/pages/CompanySkills.tsx b/ui/src/pages/CompanySkills.tsx
index e6f3f27079..193c9721d6 100644
--- a/ui/src/pages/CompanySkills.tsx
+++ b/ui/src/pages/CompanySkills.tsx
@@ -434,25 +434,18 @@ function SkillList({
className="flex min-w-0 items-center self-stretch pr-2 text-left no-underline"
onClick={() => onSelectSkill(skill.id)}
>
- <span className="min-w-0 self-center">
- {skill.key.includes("/") && (
- <span className="block truncate font-mono text-[11px] leading-4 text-muted-foreground">
- {skill.key.split("/").slice(0, -1).join("/")}
- </span>
- )}
- <span className="flex min-w-0 items-center gap-2">
- <Tooltip>
- <TooltipTrigger asChild>
- <span className="flex h-4 w-4 shrink-0 items-center justify-center text-muted-foreground opacity-75 transition-opacity group-hover:opacity-100">
- <SourceIcon className="h-3.5 w-3.5" />
- <span className="sr-only">{source.managedLabel}</span>
- </span>
- </TooltipTrigger>
- <TooltipContent side="top">{source.managedLabel}</TooltipContent>
- </Tooltip>
- <span className="min-w-0 overflow-hidden text-[13px] font-medium leading-5 [display:-webkit-box] [-webkit-box-orient:vertical] [-webkit-line-clamp:3]">
- {skill.name}
- </span>
+ <span className="flex min-w-0 items-center gap-2 self-center">
+ <Tooltip>
+ <TooltipTrigger asChild>
+ <span className="flex h-4 w-4 shrink-0 items-center justify-center text-muted-foreground opacity-75 transition-opacity group-hover:opacity-100">
+ <SourceIcon className="h-3.5 w-3.5" />
+ <span className="sr-only">{source.managedLabel}</span>
+ </span>
+ </TooltipTrigger>
+ <TooltipContent side="top">{source.managedLabel}</TooltipContent>
+ </Tooltip>
+ <span className="min-w-0 overflow-hidden text-[13px] font-medium leading-5 [display:-webkit-box] [-webkit-box-orient:vertical] [-webkit-line-clamp:3]">
+ {skill.name}
</span>
</span>
</Link>