feat(pattern-toolkit): adopt Pattern Lab tool into suite with 300 DPI PNG export - #47
Merged
Merged
Conversation
…ded RNG, edit mode, JSON round-trip, and 300 DPI PNG export; register in suite and update tests
|
PR review automation completed.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary\n- Adds a new "Pattern Toolkit" route (/pattern-toolkit) porting the Pattern Lab Cells → Modules generator into our shared EditorShell.\n- Seeded RNG + edit mode + config copy/apply + SVG/PNG(300 DPI via pHYs)/JPG export.\n\nDetails\n- Core: cyrb128→sfc32, quarterPath geometry, pure SVG builder.\n- UI: GTK-styled controls (layout/colors/interact/shape/process/output), selection overlay, keyboard shortcuts.\n- Export: new ensurePngDPI helper in export-engine to embed 300 DPI pHYs for PNG.\n- Registry: adds a fourth live toolkit to the launcher.\n- Tests: core determinism/geometry + launcher update.\n\nAcceptance\n- Deterministic re-render from seed and modules, config round-trips including orientations.\n- PNG exports report 300 DPI in design tools.\n- Keyboard: R/Shift+R, ArrowLeft/Right, Esc.\n\nQA\n- Lint, tests, and build are green locally.\n- Visual QA: Chrome DevTools MCP not available in this run; will attach screenshots in a follow-up if requested.\n\nHandover\n- Based on: /Users/iraoliverfernando/Documents/Playground/pattern-lab/HANDOVER-GengarToolkit.md