mirror of
https://github.com/jhbruhn/respira.git
synced 2026-01-27 02:13:41 +00:00
Controller Software for the Brother PP-1 SKiTCH embroidery machine.
Refactor all child components to consume stores directly instead of receiving props from App.tsx. This eliminates prop drilling and simplifies the component tree. Components updated: - FileUpload: Now uses useMachineStore, usePatternStore, and useUIStore directly instead of receiving 14 props - ProgressMonitor: Now uses useMachineStore and usePatternStore instead of receiving 9 props - PatternCanvas: Now uses useMachineStore and usePatternStore instead of receiving 7 props - PatternSummaryCard: Now uses useMachineStore and usePatternStore instead of receiving 5 props Changes to App.tsx: - Removed all component props that are now accessed via stores - Removed unused callbacks: handlePatternLoaded, handlePatternOffsetChange, handleUpload, handleDeletePattern - Removed unused imports: PesPatternData, canDeletePattern, useCallback - Simplified component tree with zero-prop component calls Benefits: - Eliminated prop drilling across 37 props total - Components can access exactly what they need from stores - Cleaner, more maintainable component interfaces - Better separation of concerns 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| .github | ||
| build | ||
| docs | ||
| electron | ||
| public | ||
| src | ||
| .gitignore | ||
| .node-version | ||
| CLAUDE.md | ||
| eslint.config.mjs | ||
| forge.config.js | ||
| index.html | ||
| LICENSE.md | ||
| package-lock.json | ||
| package.json | ||
| tailwind.config.js | ||
| tsconfig.app.json | ||
| tsconfig.electron.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.electron.mts | ||
| vite.config.mts | ||