diff --git a/components/console/empty-history-state.tsx b/components/console/empty-history-state.tsx new file mode 100644 index 0000000..08fb956 --- /dev/null +++ b/components/console/empty-history-state.tsx @@ -0,0 +1,49 @@ +"use client"; + +import { History, LucideIcon, ArrowRight } from "lucide-react"; +import Link from "next/link"; + +interface EmptyHistoryStateProps { + title?: string; + description?: string; + icon?: LucideIcon; + actionLabel?: string; + actionHref?: string; +} + +export function EmptyHistoryState({ + title = "No execution history found", + description = "You haven't triggered any monitoring or analysis pipelines on this workspace yet.", + icon: Icon = History, + actionLabel = "Run your first scan", + actionHref +}: EmptyHistoryStateProps) { + return ( +
+ {description} +
+ + {/* Conditional Quick-Action CTA Affordance */} + {actionHref && ( + + {actionLabel} +