Architecture: How does dock-layout fit within the 5-level GoGrab Space bui...
Documentation for Sessions
🏗️ Architecture: How does dock-layout fit within the 5-level GoGrab Space bui...
📋 Decision Context
Question:
How does dock-layout fit within the 5-level GoGrab Space building blocks architecture?
Task: Not specified
🎯 Decision Made
Chosen:
dock-layout serves as a LAYOUT SYSTEM (parallel to Galaxy layout.template) that can host widgets at Level 2. In Development mode, it's a tool for space-builders. In Renderable mode, it becomes a widget container displaying end-user content. This dual-purpose aligns with the platform-builder vision.
Options Considered:
- dock-layout as Widget (Level 2)
- dock-layout as Layout System (parallel to Galaxy templates)
- dock-layout as Module (Level 3)
💭 Reasoning
The 5-level architecture is: Properties → Widgets → Modules → Galaxies → Universe. Galaxy has layout.template (split-sidebar, dashboard, etc). dock-layout can be an advanced, flexible layout.template alternative OR a standalone widget container. For content creation (what user described), dock-layout zones contain widgets. Space-builders configure zones in Development mode, end-users see Renderable mode. This maintains modularity: dock-layout is a UI library, widgets are content, modules provide business logic.
📁 Files Involved
libs/libs-ui/dock-layout/docs/english/GoGrab-Space/architecture/BUILDING-BLOCKS-ARCHITECTURE.mddocs/english/GoGrab-Space/architecture/universe-structure.md
🔗 Related
- Decision ID:
dev_1768252049347_lhqpvgk - Session: 39
- Workspace: editor2
Auto-generated by MCP Smart Consolidation