diff --git a/ui/src/components/Button.tsx b/ui/src/components/Button.tsx index 56c5be1d9..f343d8780 100644 --- a/ui/src/components/Button.tsx +++ b/ui/src/components/Button.tsx @@ -4,7 +4,7 @@ import Spinner from './Spinner'; interface ButtonProps extends ButtonHTMLAttributes { children: ReactNode; variant?: 'primary' | 'secondary' | 'danger' | 'ghost' | 'link'; - size?: 'sm' | 'md' | 'lg'; + size?: 'xs' | 'sm' | 'md' | 'lg'; loading?: boolean; ref?: Ref; } @@ -18,6 +18,7 @@ const variantClasses = { }; const sizeClasses = { + xs: 'px-2 py-1 text-xs', sm: 'px-3 py-1.5 text-sm', md: 'px-5 py-2.5 text-sm', lg: 'px-6 py-3 text-base', diff --git a/ui/src/pages/DashboardPage.tsx b/ui/src/pages/DashboardPage.tsx index 7cf2f470b..77abafb2e 100644 --- a/ui/src/pages/DashboardPage.tsx +++ b/ui/src/pages/DashboardPage.tsx @@ -11,7 +11,6 @@ import { Download, GitBranch, AlertTriangle, - Check, Trash2, Package, Zap, @@ -513,36 +512,30 @@ function TrackedReposSection({ repos }: { repos: { name: string; skillCount: num {displayName} {repo.skillCount} skills + {repo.dirty ? ( + modified + ) : ( + clean + )}
- {repo.dirty ? ( - - - modified - - ) : ( - - - clean - - )}