diff --git a/apps/ui/src/components/views/board-view/components/list-view/list-row.tsx b/apps/ui/src/components/views/board-view/components/list-view/list-row.tsx
index 817a1e72..8d353dd5 100644
--- a/apps/ui/src/components/views/board-view/components/list-view/list-row.tsx
+++ b/apps/ui/src/components/views/board-view/components/list-view/list-row.tsx
@@ -6,52 +6,9 @@ import { cn } from '@/lib/utils';
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/ui/tooltip';
import { AlertCircle, Lock, Hand, Sparkles, FileText } from 'lucide-react';
import type { Feature } from '@/store/app-store';
-import type { PipelineConfig } from '@automaker/types';
import { RowActions, type RowActionHandlers } from './row-actions';
import { getColumnWidth, getColumnAlign } from './list-header';
-/**
- * Get the priority display configuration
- */
-function getPriorityDisplay(priority: number | undefined): {
- label: string;
- shortLabel: string;
- colorClass: string;
- bgClass: string;
- borderClass: string;
-} | null {
- if (!priority) return null;
-
- switch (priority) {
- case 1:
- return {
- label: 'High Priority',
- shortLabel: 'High',
- colorClass: 'text-[var(--status-error)]',
- bgClass: 'bg-[var(--status-error)]/15',
- borderClass: 'border-[var(--status-error)]/30',
- };
- case 2:
- return {
- label: 'Medium Priority',
- shortLabel: 'Medium',
- colorClass: 'text-[var(--status-warning)]',
- bgClass: 'bg-[var(--status-warning)]/15',
- borderClass: 'border-[var(--status-warning)]/30',
- };
- case 3:
- return {
- label: 'Low Priority',
- shortLabel: 'Low',
- colorClass: 'text-[var(--status-info)]',
- bgClass: 'bg-[var(--status-info)]/15',
- borderClass: 'border-[var(--status-info)]/30',
- };
- default:
- return null;
- }
-}
-
export interface ListRowProps {
/** The feature to display */
feature: Feature;
@@ -59,8 +16,6 @@ export interface ListRowProps {
handlers: RowActionHandlers;
/** Whether this feature is the current auto task (agent is running) */
isCurrentAutoTask?: boolean;
- /** Pipeline configuration for custom status colors */
- pipelineConfig?: PipelineConfig | null;
/** Whether the row is selected */
isSelected?: boolean;
/** Whether to show the checkbox for selection */
@@ -201,39 +156,6 @@ const IndicatorBadges = memo(function IndicatorBadges({
);
});
-/**
- * PriorityBadge displays the priority indicator in the table
- */
-const PriorityBadge = memo(function PriorityBadge({ priority }: { priority: number | undefined }) {
- const display = getPriorityDisplay(priority);
-
- if (!display) {
- return -;
- }
-
- return (
-
-
-
-
- {display.shortLabel}
-
-
-
- {display.label}
-
-
-
- );
-});
-
/**
* ListRow displays a single feature row in the list view table.
*
@@ -264,7 +186,6 @@ export const ListRow = memo(function ListRow({
feature,
handlers,
isCurrentAutoTask = false,
- pipelineConfig,
isSelected = false,
showCheckbox = false,
onToggleSelect,