Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ export function ContextSection({ title, children, defaultOpen = false }: Context
>
<h2 className="text-base font-medium">{title}</h2>
{open ? (
<ChevronUp className="h-4 w-4 text-muted-foreground" />
<ChevronUp className="h-4 w-4 text-muted-foreground" aria-hidden="true" />
) : (
<ChevronDown className="h-4 w-4 text-muted-foreground" />
<ChevronDown className="h-4 w-4 text-muted-foreground" aria-hidden="true" />
)}
</button>
{open && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function DelegationInsight({ insight, orgSlug }: DelegationInsightProps)
<ChartCard
title={
<span className="inline-flex items-center gap-2">
<Wand2 className="h-4 w-4 text-brand-2" />
<Wand2 className="h-4 w-4 text-brand-2" aria-hidden="true" />
위임 활용
</span>
}
Expand All @@ -34,7 +34,7 @@ export function DelegationInsight({ insight, orgSlug }: DelegationInsightProps)
<ChartCard
title={
<span className="inline-flex items-center gap-2">
<Wand2 className="h-4 w-4 text-brand-2" />
<Wand2 className="h-4 w-4 text-brand-2" aria-hidden="true" />
위임 활용
</span>
}
Expand Down Expand Up @@ -65,7 +65,7 @@ export function DelegationInsight({ insight, orgSlug }: DelegationInsightProps)
className="inline-flex items-center gap-1 text-xs px-2 py-1 rounded-md bg-muted hover:bg-card-elevated transition-colors font-mono truncate max-w-[12rem]"
>
<span className="truncate">{sid.slice(0, 10)}…</span>
<ArrowUpRight className="h-3 w-3 shrink-0" />
<ArrowUpRight className="h-3 w-3 shrink-0" aria-hidden="true" />
</Link>
))}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function LearnFromGroup({ topUsers }: LearnFromGroupProps) {
return (
<div className="rounded-xl bg-card ring-1 ring-foreground/10 p-6">
<div className="flex items-center gap-2 mb-2 text-brand">
<Trophy className="h-4 w-4" />
<Trophy className="h-4 w-4" aria-hidden="true" />
<span className="text-sm font-medium">배울 대상</span>
</div>
<p className="text-sm text-muted-foreground">
Expand All @@ -26,33 +26,33 @@ export function LearnFromGroup({ topUsers }: LearnFromGroupProps) {
return (
<div>
<div className="flex items-center gap-2 mb-3 text-brand">
<Trophy className="h-4 w-4" />
<Trophy className="h-4 w-4" aria-hidden="true" />
<h3 className="text-sm font-medium">배울 대상</h3>
</div>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-3">
<TopUserCard
icon={<Trophy className="h-4 w-4" />}
icon={<Trophy className="h-4 w-4" aria-hidden="true" />}
label="스킬 활용 최다"
leader={learnFrom.skillUsage}
formatValue={(n) => `${n.toLocaleString()}회`}
description="재사용 자산(스킬)을 가장 많이 호출"
/>
<TopUserCard
icon={<Layers className="h-4 w-4" />}
icon={<Layers className="h-4 w-4" aria-hidden="true" />}
label="스킬 다양성"
leader={learnFrom.skillDiversity}
formatValue={(n) => `${n}종`}
description="고유 스킬을 가장 넓게 활용"
/>
<TopUserCard
icon={<Wand2 className="h-4 w-4" />}
icon={<Wand2 className="h-4 w-4" aria-hidden="true" />}
label="위임 최다"
leader={learnFrom.delegation}
formatValue={(n) => `${n.toLocaleString()}회`}
description="Task/Agent 도구로 서브에이전트 위임"
/>
<TopUserCard
icon={<MessageSquare className="h-4 w-4" />}
icon={<MessageSquare className="h-4 w-4" aria-hidden="true" />}
label="간결 세션 마스터"
leader={learnFrom.conciseSession}
formatValue={(n) => `${n.toFixed(1)}회`}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function SkillAssetsInsight({ insight }: SkillAssetsInsightProps) {
<ChartCard
title={
<span className="inline-flex items-center gap-2">
<Sparkles className="h-4 w-4 text-brand" />
<Sparkles className="h-4 w-4 text-brand" aria-hidden="true" />
재사용 자산
</span>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ export function UsageScaleGroup({ topUsers }: UsageScaleGroupProps) {
return (
<div>
<div className="flex items-center gap-2 mb-3 text-brand-2">
<BarChart3 className="h-4 w-4" />
<BarChart3 className="h-4 w-4" aria-hidden="true" />
<h3 className="text-sm font-medium">이번 주 활용 규모</h3>
</div>
<div className="grid grid-cols-1 md:grid-cols-2 gap-3">
<TopUserCard
icon={<Activity className="h-4 w-4" />}
icon={<Activity className="h-4 w-4" aria-hidden="true" />}
label="세션 최다"
leader={usageScale.sessionCount}
formatValue={(n) => `${n.toLocaleString()} 세션`}
tone="scale"
/>
<TopUserCard
icon={<Coins className="h-4 w-4" />}
icon={<Coins className="h-4 w-4" aria-hidden="true" />}
label="토큰 최다"
leader={usageScale.tokenUsage}
formatValue={(n) => formatTokens(n)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function WeekNavigator({ currentIsoKey, label, isCurrent }: WeekNavigator
aria-label="이전 주"
className={cn(buttonVariants({ variant: 'outline', size: 'icon-sm' }))}
>
<ChevronLeft className="h-4 w-4" />
<ChevronLeft className="h-4 w-4" aria-hidden="true" />
</Link>
<div className="flex items-center gap-2 px-3 py-1.5 rounded-md bg-muted">
<span className="text-sm font-medium tabular-nums">{label}</span>
Expand All @@ -69,7 +69,7 @@ export function WeekNavigator({ currentIsoKey, label, isCurrent }: WeekNavigator
aria-label="다음 주"
className={cn(buttonVariants({ variant: 'outline', size: 'icon-sm' }))}
>
<ChevronRight className="h-4 w-4" />
<ChevronRight className="h-4 w-4" aria-hidden="true" />
</Link>
</div>
)
Expand Down
Loading