Implements #9, #17, #18, #19 (Frontend Dashboard epic) Components: - Providers wrapper with React Query - UI components: Button, Badge, Card, Modal, Input - PipelineCard component with progress visualization - CreatePipelineModal with form validation Pages: - /pipelines - List page with filtering and empty states - /pipelines/[id] - Detail page with stage progress, output viewer, attribution API hooks: - usePipelines, usePipeline, useAvailableStages - useCreatePipeline, useStartPipeline mutations Utils: - cn() for tailwind class merging - formatDate, formatRelativeTime helpers - STAGE_META and STAGE_WEIGHTS constants Tests: - utils.test.ts - 15 tests for utility functions - hooks.test.ts - 10 tests for API fetch logic Also fixes ESLint config to remove missing TypeScript rules.
8 lines
148 B
JSON
8 lines
148 B
JSON
{
|
|
"extends": ["next/core-web-vitals"],
|
|
"rules": {
|
|
"prefer-const": "error",
|
|
"no-console": ["warn", { "allow": ["warn", "error"] }]
|
|
}
|
|
}
|