Created config-panel/ subdirectory and extracted reusable UI components from the monolithic 2550-line ConfigPanel.tsx file. Extracted components: - utils.tsx: getScaffoldingSummary() function - SubOption.tsx: Nested toggle UI component - ToggleOption.tsx: Main toggle option with description Changes: - Created src/app/create/worksheets/addition/components/config-panel/ directory - Moved 3 helper functions/components to separate files (~240 lines) - Updated ConfigPanel.tsx to import from new locations - Removed unused imports (Checkbox, findNearestPreset) - File size reduced: 2550 → 2306 lines (-244 lines) Zero functionality change - all components work identically. Part 1 of 5-phase refactoring plan. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| 3d-models | ||
| blog | ||
| games | ||
| icons | ||
| gallery-demo.html | ||
| og-image.svg | ||
| test-interactive-with-data-attrs.html | ||
| test-memory-quiz.html | ||
| test-simple.html | ||