Remove namespace from skill list sidebars

Remove the org/repo namespace line from both the company skills sidebar
and agent skills tab — cleaner to show just the skill name with source
icon.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Dotta 2026-03-16 19:11:01 -05:00
parent 56f7807732
commit 79e0915a86
2 changed files with 12 additions and 24 deletions

View file

@ -1469,11 +1469,6 @@ function AgentSkillsTab({
<div className="min-w-0 flex-1"> <div className="min-w-0 flex-1">
<div className="flex items-center justify-between gap-3"> <div className="flex items-center justify-between gap-3">
<div className="min-w-0"> <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> <span className="truncate font-medium">{skill.name}</span>
</div> </div>
{skill.linkTo ? ( {skill.linkTo ? (

View file

@ -434,13 +434,7 @@ function SkillList({
className="flex min-w-0 items-center self-stretch pr-2 text-left no-underline" className="flex min-w-0 items-center self-stretch pr-2 text-left no-underline"
onClick={() => onSelectSkill(skill.id)} onClick={() => onSelectSkill(skill.id)}
> >
<span className="min-w-0 self-center"> <span className="flex min-w-0 items-center gap-2 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> <Tooltip>
<TooltipTrigger asChild> <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"> <span className="flex h-4 w-4 shrink-0 items-center justify-center text-muted-foreground opacity-75 transition-opacity group-hover:opacity-100">
@ -454,7 +448,6 @@ function SkillList({
{skill.name} {skill.name}
</span> </span>
</span> </span>
</span>
</Link> </Link>
<button <button
type="button" type="button"