import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; import { ListChecks, Clock, DollarSign, GitBranch, ExternalLink, User } from "lucide-react"; import { PageHeader } from "@/components/layout/page-header"; // Mock data const PROGRESS_ITEMS = [ { id: 1, title: "Implemented Product Vision page with file upload", description: "Created dynamic layout system with file upload capabilities for ChatGPT exports", contributor: "Mark Henderson", date: "2025-11-11", time: "2h 15m", tokens: 45000, cost: 0.68, github_link: "https://github.com/user/repo/commit/abc123", type: "feature" }, { id: 2, title: "Updated left rail navigation structure", description: "Refactored navigation to remove rounded edges and improve active state", contributor: "Mark Henderson", date: "2025-11-11", time: "45m", tokens: 12000, cost: 0.18, github_link: "https://github.com/user/repo/commit/def456", type: "improvement" }, { id: 3, title: "Added section summaries to Overview page", description: "Created cards for Product Vision, Progress, UI UX, Code, Deployment, and Automation", contributor: "Mark Henderson", date: "2025-11-11", time: "1h 30m", tokens: 32000, cost: 0.48, github_link: "https://github.com/user/repo/commit/ghi789", type: "feature" }, { id: 4, title: "Fixed database connection issues", description: "Resolved connection pooling and error handling in API routes", contributor: "Mark Henderson", date: "2025-11-10", time: "30m", tokens: 8000, cost: 0.12, github_link: "https://github.com/user/repo/commit/jkl012", type: "fix" }, ]; export default async function ProgressPage({ params, }: { params: Promise<{ projectId: string }>; }) { const { projectId } = await params; return ( <>
{/* Hero Section */}

Progress

Development activity and velocity

{/* Main Content */}
{/* Summary Stats */}
Total Items
{PROGRESS_ITEMS.length}
Total Time
5h 0m
Total Cost
$1.46
Total Tokens
97K
{/* Progress List */}
Development Activity Sorted by latest
{PROGRESS_ITEMS.map((item) => (
{/* Header Row */}

{item.title}

{item.type}

{item.description}

{/* Metadata Row */}
{/* Contributor */}
{item.contributor}
{/* Time */}
{item.time}
{/* Tokens */}
{item.tokens.toLocaleString()} tokens
{/* Cost */}
${item.cost.toFixed(2)}
{/* GitHub Link */}
{/* Date */}
{new Date(item.date).toLocaleDateString('en-US', { month: 'long', day: 'numeric', year: 'numeric' })}
))}
); }