Commit Graph

13 Commits

Author SHA1 Message Date
Thomas Hallock ab99053d74 fix: enable multi-bead highlighting in tutorial system
- Fix highlighting logic bug where multiple beads in same column would overwrite each other
- Migrate TutorialStep interface from columnIndex to placeValue system
- Update tutorial data to use place values (0=ones, 1=tens, etc.)
- Fix bead validation logic to use place values instead of legacy columnIndex
- Enable proper multi-step tutorial highlighting for complement operations

Tutorial steps like "3 + 4 = 5 - 1" now correctly highlight both the heaven bead
(add 5) and earth bead (remove 1) simultaneously.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 17:56:00 -05:00
Thomas Hallock f79215ea28 chore: update generated CSS for responsive design and hover states
Updated styled-system generated CSS across all components and pages:
• Added responsive breakpoints for mobile, tablet, desktop
• Enhanced hover states for interactive elements
• Improved grid layouts and spacing utilities
• Added transition animations and shadow effects

CSS automatically generated from component usage patterns.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 15:40:29 -05:00
Thomas Hallock 092e7d5d3d chore: update generated CSS for all page and component styles
Updated styled-system generated CSS chunks for various pages and
components with latest style definitions and hover states.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 15:17:24 -05:00
Thomas Hallock c470bd5575 chore: update generated CSS styles
Updates Panda CSS generated styles for new tutorial editor features
including practice step preview, unified step positioning interface,
and improved problem display formatting.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 10:32:37 -05:00
Thomas Hallock 0a4022343e chore: update generated CSS for guided addition tutorial
- Add CSS classes for tutorial component styling
- Update chunks for guide page and tutorial integration
- Reorganize CSS class ordering from styled-system compilation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-19 19:07:44 -05:00
Thomas Hallock 9edb7fc55c chore: update generated CSS and configuration files
Update styled-system CSS chunks and Claude configuration to reflect
component and styling changes from previous feature additions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-19 18:26:31 -05:00
Thomas Hallock 10b907b00a chore: regenerate Panda CSS styles
Update generated CSS files to include styles for new interactive
components and updated UI elements.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 16:33:59 -05:00
Thomas Hallock 2191a98b4f chore: regenerate Panda CSS styles and update lockfile
Update generated CSS styles for memory quiz results grid component
and update pnpm lockfile with new typst dependencies.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 11:59:55 -05:00
Thomas Hallock a557362c9e feat: add comprehensive unit test suite for memory quiz functionality
- Add Vitest test framework setup with jsdom environment
- Create memory-quiz-utils.ts with testable prefix matching functions
- Add comprehensive test suite covering:
  - Prefix matching logic with found/unfound number exclusion
  - Edge cases for input validation
  - 55/555 bug scenario reproduction and fix
  - Integration test scenarios

Tests currently have 3 failures that need debugging in prefix logic.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 11:23:08 -05:00
Thomas Hallock cd6165ee3e fix: improve abacus sizing across all components with CSS transforms
- Add 2.2x scale to single-digit abaci in guide page for better visibility
- Add 1.8x scale to multi-digit abaci in guide page
- Add 2.5x scale to arithmetic example abaci in guide page
- Add 1.8x scale to live preview abaci with proper overflow handling
- Add 2.0x scale to main display abaci in memory quiz
- Add 2.8x scale to results grid abaci in memory quiz
- Ensure all abaci are proportional to their containers instead of tiny specs

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 21:58:12 -05:00
Thomas Hallock 5c3231c170 feat: implement global abacus display configuration and remove client-side SVG generation
- Add React Context for app-wide abacus styling (localStorage persistence)
- Create AbacusDisplayDropdown with style controls in nav bar
- Add AppNavBar component with adaptive behavior (minimal for games)
- Remove duplicate navigation headers from guide and home pages
- Delete client-side SorobanSVG component - use only server-side Python/Typst
- Clean up generateSorobanSVG and generateMockSorobanSVG functions
- All abacus displays now use consistent global configuration
- Settings persist across page reloads and browser sessions

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 20:45:55 -05:00
Thomas Hallock e8aed8034a feat: add concurrent Panda CSS watch to dev script
- Install concurrently package for running multiple processes
- Update dev script to run both Next.js dev and Panda CSS watch
- Automatically regenerate CSS when styles change during development
- Eliminates need to manually run panda codegen after CSS changes

Dev script now runs:
- Next.js development server
- Panda CSS file watcher for automatic style regeneration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 20:22:05 -05:00
Thomas Hallock b8361eea50 feat: regenerate Panda CSS styles for memory quiz and other components
- Regenerated Panda CSS after converting memory quiz to use css() functions
- Added new CSS chunks for games pages, memory quiz, and various components
- Updated main styles.css with all required utility classes
- Includes complex animations, gradients, and transforms needed for memory quiz

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 17:11:35 -05:00