Spaces:
Sleeping
Sleeping
Commit History
-
Update frontend assets, enhance idle animation, and adjust layout
- Updated JavaScript and CSS asset references in index.html for improved performance. - Modified main.py to introduce a standby animation for the Rubik's Cube, enhancing user experience during idle periods. - Implemented event listeners to manage idle state based on user interaction. - Adjusted CSS styles for practice panel positioning and transform origin to improve layout consistency.0ece613 -
fix: update Sune algorithm prompt and expected moves in practice drills
- Modified the Sune algorithm prompt to include an additional 'U' move. - Updated the expected moves and validator to reflect the new prompt. - Changed the script reference in index.html to the latest version.1d48014 -
feat: implement practice drills subsystem with evaluation and UI panel
- Added drill selection and evaluation logic in `drill_generator.ts` and `evaluation.ts`. - Created a static catalog of practice drills in `practice_drills.ts`. - Developed a `PracticeEngine` to manage drill state, scoring, and user interactions. - Implemented a `PracticePanel` for the UI, allowing users to select drills and view progress. - Added tests for drill selection and evaluation in `drill_generator.test.ts` and `evaluation.test.ts`. - Updated main application to integrate the practice subsystem and UI. - Enhanced styling for the practice panel in `style.css`. - Updated HTML to include new practice assets.978a8ce -
Fix coaching bug on mistake detection and alignment on expected moves
1bbbdd8 -
feat: implement coaching messages for lesson steps
- Added a new coaching module to provide hints, mistakes, and recommendations during lessons. - Created tests for the coaching messages to ensure correct behavior based on user actions. - Updated lesson catalog to include hints for specific steps. - Enhanced the lesson engine to generate coaching messages based on the current state. - Styled coaching messages in the UI for better visibility and user experience.6bf8aad -
feat: implement lesson engine and progress tracking for Rubik's Cube lessons
- Add LessonEngine class to manage lesson selection, step progression, and validation. - Create lesson types and progress storage utilities for saving and loading lesson state. - Implement lesson validation logic for manual, move sequence, and cube solved steps. - Develop a LessonsPanel UI component for lesson selection and detail display. - Add tests for lesson engine functionality, progress storage, and validation logic. - Update main application to integrate lesson engine and UI panel. - Style lessons panel and related UI elements for better user experience.8e4ec9b
-
feat: redesign UI with new CSS styles and debugger panel enhancements
- Added a new CSS file with a modern color palette and gradients for the app background. - Removed the old CSS file and updated the HTML to reference the new styles. - Enhanced the Three.js scene to use a transparent background for better integration with CSS. - Deleted obsolete test file related to the debugging functionality. - Improved the debugger panel UI with a new header, close button, and floating toggle for visibility. - Updated styles for debugger elements to match the new design language.0380ca3 -
feat: add comprehensive tests for drag controls and cube state management
eb46df1 -
feat: add unit tests for MoveAnimator and Cubelet functionality
- Introduced a new test suite for MoveAnimator to validate the behavior of batched move sequences and ensure correct state restoration. - Added tests for Cubelet class to verify construction, rotation logic, and color queries. - Enhanced Cubelet implementation to maintain logical state and support face rotations. - Updated package.json to include vitest for testing framework.5d8d1cc
-
Cut iframe, still janky on scramble
255ae57 -
Placeholder Rubics Cube on Gradio
f4bb1f5