Skip to content

Refactor printer card logic into model hook - #76

Merged
ichwars merged 1 commit into
mainfrom
dev-split-printer-card
Aug 4, 2026
Merged

Refactor printer card logic into model hook#76
ichwars merged 1 commit into
mainfrom
dev-split-printer-card

Conversation

@ichwars

@ichwars ichwars commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Extracts PrinterCard state, queries, mutations, effects, and event handlers into a typed usePrinterCardModel hook while leaving the rendered JSX structure unchanged. PrinterCard drops from 5,083 to 3,817 lines; the new model hook is 1,462 lines and remains within the source budget. Verification: TypeScript, ESLint, production Vite build, source-size checks, 14 budget tests, 93 targeted printer tests, full frontend suite (244 files / 2,848 tests), and i18n parity all pass.

@ichwars
ichwars merged commit b704df3 into main Aug 4, 2026
30 checks passed
@ichwars
ichwars deleted the dev-split-printer-card branch August 4, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant