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:
parent
56f7807732
commit
79e0915a86
2 changed files with 12 additions and 24 deletions
|
|
@ -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 ? (
|
||||
|
|
|
|||
|
|
@ -434,13 +434,7 @@ 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">
|
||||
<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">
|
||||
|
|
@ -454,7 +448,6 @@ function SkillList({
|
|||
{skill.name}
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</Link>
|
||||
<button
|
||||
type="button"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue