feat(activity): surface active work across the session picker, tool rail and mobile

This commit is contained in:
Chris Scott committed 2026-10-16 00:54:06 -04:00
1 parent be874ee07c
commit d8f2fcf29c
46 files changed
+3120 -277

No files matched your search

@@ -0,0 +1,25 @@
import { cn } from '@/lib/utils'
interface ActivityCountPillProps {
needsInput: number
running: number
className?: string
}
export function ActivityCountPill({ needsInput, running, className }: ActivityCountPillProps) {
const total = needsInput + running
if (total === 0) return null
return (
<span
aria-hidden="true"
className={cn(
'flex h-4 min-w-4 items-center justify-center rounded-full px-1 text-[10px] font-semibold leading-none',
needsInput > 0 ? 'bg-warning text-warning-foreground' : 'bg-primary text-primary-foreground',
className,
)}
>
{total}
</span>
)
}