Universe Canvas Restoration Plan
Documentation for Plans
Universe Canvas - COMPLETE RESTORATION PLAN
Status: 🚧 CRITICAL RECOVERY NEEDED
Date: November 21, 2025 - 8:30 PM EST
Session ID: 11.25.2.2
🎯 Core Problem
The Canvas V2 replaced a feature-rich, mode-based grid system with a minimal implementation. We need to restore ALL the original capabilities while improving the architecture.
✅ What the Original Had (Must Restore)
1. Mode-Based Editing System ⚠️ MISSING
select- Click to select sectionsadd- Add sections before/afterresize- Visual resize controls (flex ratio)reorder- Drag to reordergrid-edit- Add/remove rows/columnsexport- Export UI
2. Visual Grid Tools ⚠️ MISSING
- Add/Remove Row buttons
- Add/Remove Column buttons
- Grid Blueprint overlay (shows grid structure)
- Click cells to merge/split
3. Flex Ratio System ⚠️ MISSING
- Visual flex handles overlay
- Preset buttons (1:1, 1:2, 2:1, etc.)
- Live ratio display
4. Smart Layout Management ⚠️ PARTIAL
- Config panel pushes canvas (not overlay)
- Responsive height for sidebar states
- Canvas adapts to available space
5. Content Nesting ✅ IMPLEMENTED
- Modules inside containers
- Widgets inside containers
- Containers inside containers (infinite nesting)
🔧 Implementation Plan
Phase 1: Restore Mode System (PRIORITY 1)
- Add
canvasModetoCanvasStateService(select | add | resize | reorder | grid-edit | export) - Create contextual toolbars for each mode
- Update
CanvasSectionComponentto respect mode - Add mode-specific visual overlays
Phase 2: Restore Grid Tools (PRIORITY 2)
- Implement Add/Remove Row/Column
- Create Grid Blueprint overlay component
- Add cell merge/split functionality
- Visual grid track resizing
Phase 3: Restore Flex Tools (PRIORITY 3)
- Implement Flex Blueprint overlay
- Add preset ratio buttons
- Visual flex resizing handles
- Live ratio updates
Phase 4: Fix Layout Integration (PRIORITY 4)
- Make config panel PUSH canvas (not overlay)
- Implement responsive height
- Sync toolbar state with canvas
- Add rearrange/reorder visual feedback
🚀 Immediate Actions
I will now:
- Restore the Mode System from the original canvas
- Fix the sidebar layout to push canvas
- Implement Grid Controls (Add/Remove rows/cols)
- Add Visual Overlays for grid and flex editing
This will transform it from "minimal" to "comprehensive".
Recovery Starting Now...