Architecture: Where should SpaceExplorerComponent live - universe-canvas o...
Documentation for Sessions
🏗️ Architecture: Where should SpaceExplorerComponent live - universe-canvas o...
📋 Decision Context
Question:
Where should SpaceExplorerComponent live - universe-canvas or its own library?
Task: Not specified
🎯 Decision Made
Chosen:
Create new @libs-space/space-explorer library
Options Considered:
- Keep in @libs-space/universe-canvas
- Create new @libs-space/space-explorer library
💭 Reasoning
A Space is a layer ABOVE Universe in our hierarchy (Space → Universe → Galaxy → World → Page). Putting space-level components inside universe-canvas violates the architectural hierarchy. The component should live in its own library that can depend on core services but not on universe-canvas. This follows single-responsibility principle and makes the dependency graph cleaner.
📁 Files Involved
libs/libs-space/universe-canvas/src/lib/components/space-explorer/libs/libs-space/space-explorer/
🔗 Related
- Decision ID:
dev_1768496192577_iwu6sfq - Session: 45
- Workspace: editor2
Auto-generated by MCP Smart Consolidation