jlightner
|
31f78727e0
|
feat: Added B&W/grayscale/color conversion modes, invert toggle, 10+ mode-aware sliders, mask regions, turnpolicy, and white preview background
Engine:
- preprocess() accepts conversion_mode (bw/grayscale/color), invert, mask_regions
- B&W: full pipeline → binary; Grayscale: skip threshold → 8-bit; Color: skip grayscale → BGR
- routes.py forces VTracer for non-binary modes, sets colormode appropriately
- potrace_trace() accepts turnpolicy param mapped to potrace constants
- 27 new tests in test_modes.py (modes, invert, masks, params, vectorization)
App:
- Mode selector tabs (B&W | Grayscale | Color) in ImportConvert
- Invert toggle (B&W only)
- ParameterSliders rewritten: grouped sections, 10+ mode-aware controls
- Debounce reduced from 300ms to 100ms
- Preview background changed to white
- Preset JSONs updated with turnpolicy, color_precision, layer_difference defaults
Tests: 126 app + 234 engine = 360 total, all pass. Zero TypeScript errors.
|
2026-03-26 08:41:30 +00:00 |
|
jlightner
|
ab170d8d20
|
test: Built fontService with opentype.js font loading, caching, text-to…
- "app/src/utils/fontService.ts"
- "app/src/utils/__tests__/fontService.test.ts"
- "app/public/fonts/Roboto-Regular.ttf"
- "app/public/fonts/OpenSans-Regular.ttf"
- "app/public/fonts/Lato-Regular.ttf"
- "app/src/App.css"
- "app/package.json"
GSD-Task: S03/T01
|
2026-03-26 05:53:04 +00:00 |
|
jlightner
|
e38a7c5cf2
|
feat: Built four canvas UI panels (ObjectPanel, AlignmentBar, CanvasToo…
- "app/src/components/canvas/ObjectPanel.tsx"
- "app/src/components/canvas/AlignmentBar.tsx"
- "app/src/components/canvas/CanvasToolbar.tsx"
- "app/src/components/canvas/ShapeProperties.tsx"
- "app/src/views/DesignCanvas.tsx"
- "app/src/App.css"
GSD-Task: S02/T03
|
2026-03-26 05:40:13 +00:00 |
|
jlightner
|
4b049c9c0f
|
feat: Built KonvaStage with artboard rendering, shape tools, selection…
- "app/src/components/canvas/KonvaStage.tsx"
- "app/src/views/DesignCanvas.tsx"
- "app/src/views/DesignCanvas.module.css"
- "app/src/App.tsx"
- "app/src/App.css"
GSD-Task: S02/T02
|
2026-03-26 05:36:19 +00:00 |
|
jlightner
|
383825e242
|
test: Created OutputInfoBar with color-coded stats, wired Use This butt…
- "app/src/components/OutputInfoBar.tsx"
- "app/src/components/__tests__/OutputInfoBar.test.tsx"
- "app/src/views/ImportConvert.tsx"
- "app/src/App.css"
GSD-Task: S01/T04
|
2026-03-26 05:17:48 +00:00 |
|
jlightner
|
c3783e1680
|
feat: Built useDebouncedTrace hook with AbortController cancellation, P…
- "app/src/hooks/useDebouncedTrace.ts"
- "app/src/components/ParameterSliders.tsx"
- "app/src/components/SvgPreview.tsx"
- "app/src/views/ImportConvert.tsx"
- "app/src/hooks/__tests__/useDebouncedTrace.test.ts"
- "app/src/App.css"
- "app/src/App.tsx"
GSD-Task: S01/T03
|
2026-03-26 05:15:43 +00:00 |
|
jlightner
|
35bc542aad
|
feat: Built app shell with ViewState routing, drag-and-drop FileUpload…
- "app/src/App.tsx"
- "app/src/App.css"
- "app/src/views/ImportConvert.tsx"
- "app/src/views/ImportConvert.module.css"
- "app/src/components/FileUpload.tsx"
- "app/src/components/PresetSelector.tsx"
GSD-Task: S01/T02
|
2026-03-26 05:07:37 +00:00 |
|