feat: implement frontend-only mock for production lines and runs

- Add ProductionTemplatesPage component for managing production templates with a visual representation using React Flow.
- Create LineHeaderNode and LineStageNode components for rendering production line nodes.
- Introduce RunStageNode and RunHeaderNode components for displaying run stages and headers.
- Implement StageProgressStrip for visualizing stage progress in runs.
- Create mock data for production runs and templates to simulate backend functionality.
- Define types for production templates and runs to structure mock data.
- Document frontend Phase 2 specifications for manufacturing processes, including screens, dialogs, and validation posture.
This commit is contained in:
2026-07-28 22:55:56 +05:30
parent b12adebaa0
commit 4561ef7ba8
19 changed files with 2457 additions and 1 deletions
+1
View File
@@ -13,6 +13,7 @@
"@hookform/resolvers": "^5.4.0",
"@radix-ui/react-icons": "^1.3.2",
"@tanstack/react-query": "^5.101.2",
"@xyflow/react": "^12.11.2",
"chart.js": "^4.5.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",