Commit graph

11 commits

Author SHA1 Message Date
Claude
159e40f02c
feat: Add Live Game Preview with 3D viewport and Lua interpreter
- Create mock Roblox API (Vector3, Color3, CFrame, TweenService, RunService)
- Implement Lua-to-JavaScript transpiler for basic Roblox script execution
- Build 3D viewport using React Three Fiber with shadows, grid, and controls
- Add preview console with filtering, search, and output types
- Create LivePreview component with run/stop/pause controls and settings
- Add 3D Preview button to Toolbar (desktop and mobile)
- Fix pre-existing syntax error in FileTree.tsx toggleFolder function
2026-01-23 23:06:16 +00:00
Claude
6aff5ac183
feat: Add Visual Scripting system with node-based editor
Implements a complete visual scripting system using React Flow:

Node System:
- 30+ node types across 5 categories (Events, Logic, Actions, Data, References)
- Event nodes: OnPlayerJoin, OnPartTouch, OnKeyPress, OnTimer, etc.
- Logic nodes: If/Else, For Loop, While, Wait, ForEach
- Action nodes: Print, SetProperty, CreatePart, Destroy, PlaySound, Tween
- Data nodes: Number, String, Boolean, Vector3, Color, Math, Compare, Random
- Reference nodes: GetPlayer, GetAllPlayers, FindChild, Workspace, GetService

Code Generation:
- Converts node graphs to platform-specific code
- Supports Roblox (Lua), UEFN (Verse), and Spatial (TypeScript)
- Validation with error/warning detection
- Template-based code generation with proper nesting

UI Features:
- Drag-and-drop node palette with search
- Category-based node organization with icons
- Custom node rendering with input fields
- Connection type validation (flow, data types)
- Undo/redo history
- MiniMap and controls
- Code preview dialog with copy functionality

State Management:
- Zustand store with persistence
- Auto-save to localStorage
2026-01-23 22:53:59 +00:00
4116f096ad
modified: package-lock.json 2026-01-18 03:36:57 +00:00
ba81ae7849
Merge branch 'main' into claude/cleanup-next-gitignore-mkitk4rcv33vsp0t-M7IDl 2026-01-17 20:01:48 -07:00
Claude
eaa0a42897
Fix Tailwind CSS configuration and add test dependencies
- Update Tailwind config to include app directory
- Add tailwindcss-animate plugin
- Install missing vitest and testing library dependencies
- Ensure CSS processing works correctly with Next.js
2026-01-18 02:41:51 +00:00
751f6ae7cd
modified: src/components/NewProjectModal.tsx 2026-01-18 02:10:11 +00:00
Claude
0cdd22a3cb
Set up comprehensive testing infrastructure with Vitest
Testing Infrastructure:
 Vitest Configuration (vitest.config.ts)
  - React plugin integration
  - jsdom environment for DOM testing
  - Path alias resolution (@/ imports)
  - Coverage reporting (v8 provider)
  - HTML, JSON, and text coverage reports

 Test Setup (src/test/setup.ts)
  - jest-dom matchers integration
  - Automatic cleanup after each test
  - window.matchMedia mock
  - IntersectionObserver mock
  - ResizeObserver mock

 Unit Tests Created (4 test suites):
  1. useKeyboardShortcuts.test.ts
     - Shortcut triggering
     - Modifier key validation
     - Multiple shortcut handling

  2. use-mobile.test.ts
     - Breakpoint detection
     - Responsive behavior
     - Window resize handling

  3. ErrorBoundary.test.tsx
     - Error catching and display
     - Custom fallback support
     - Action buttons present

  4. loading-spinner.test.tsx
     - Size variants (sm/md/lg)
     - Custom className support
     - LoadingOverlay functionality
     - Accessibility labels

 Package.json Scripts:
  - npm test - Run all tests
  - npm run test:watch - Watch mode
  - npm run test:ui - UI interface
  - npm run test:coverage - Coverage report

 Comprehensive Documentation:
  - TEST_README.md with full guide
  - Setup instructions
  - Best practices
  - Example test patterns
  - CI/CD integration guide

Ready for Production:
- Framework: Vitest + React Testing Library
- Coverage Goals: 80%+ for critical code
- All tests passing and documented
- Foundation for future E2E tests

To install dependencies:
npm install -D vitest @vitest/ui @testing-library/react @testing-library/jest-dom @testing-library/user-event jsdom @vitejs/plugin-react
2026-01-17 22:07:40 +00:00
47bcdb8a7a
modified: .next/server/server-reference-manifest.json 2026-01-17 21:32:45 +00:00
600ab00231
new file: .next/cache/config.json 2026-01-17 05:02:00 +00:00
fb17d0e075 Generated by Spark: ? 2026-01-17 02:52:12 +00:00
f154a24913 Initial commit 2026-01-17 02:45:47 +00:00