"use client";
import { GitBranch, GitPullRequest, FileCheck } from "lucide-react";
import { Badge } from "@/components/ui/badge";
import { Task, TaskStatus } from "@/types";
interface GitStatusBadgeProps {
task: Task;
compact?: boolean;
}
export function GitStatusBadge({ task, compact = true }: GitStatusBadgeProps) {
// All tasks follow git workflow - show relevant status
// Show PR badge with status (highest priority)
if (task.pr_number) {
return (