Commit Graph

1 Commits

Author SHA1 Message Date
Shawn Anderson 09e69faeb1 Integrate infinite loop variants into main dashboard
Added comprehensive dashboard integration for 30 infinite variant demos:

Dashboard Updates (index.html):
- Added "Infinite Variants" filter button with 🔄 emoji
- Added HTML category section for infinite variants display
- Added JavaScript grid initialization for variants
- Updated emoji mapping to include infiniteVariants category
- Fixed stats: Categories 7→8, Total Demos now includes variants (142)

Auto-Generation System (generate_index.py):
- Added infiniteVariants to demos object structure
- Implemented scanning of infinite_variants/*/test_output/ directories
- Auto-detects variant numbers and maps to friendly names:
  * Variant 1: Pattern Synthesis
  * Variant 2: Utility Commands
  * Variant 3: Pluggable Templates
  * Variant 4: Quality Evaluation
  * Variant 5: Config-Driven
  * Variant 6: State Management
  * Variant 7: Meta Self-Improvement
- Supports both HTML and JS file detection
- Generates descriptions with variant context

Screenshot System (generate_screenshots.js):
- Added infiniteVariants category with 1500ms delay
- Pattern: infinite_variants/infinite_variant_*/test_output/*.html
- Successfully captured all 30 variant demo screenshots

Package Management (package.json):
- Added npm run screenshots:variants command
- Configured Playwright dependency for screenshot generation

Result: All 30 variant demos now seamlessly integrated into dashboard
with auto-discovery, screenshots, and filter functionality.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 18:25:07 -07:00