Architecture: Should structure-management and universe-canvas components b...
Documentation for Sessions
🏗️ Architecture: Should structure-management and universe-canvas components b...
📋 Decision Context
Question:
Should structure-management and universe-canvas components be consolidated?
Task: Not specified
🎯 Decision Made
Chosen:
Keep both libraries separate - they serve complementary but different purposes
Options Considered:
- No alternatives documented
💭 Reasoning
After analysis, the naming similarity caused confusion but the components serve different architectural purposes: 1) structure-management handles LAYOUT modules (headers, footers, sidebars, navigation) - the 'chrome' around content; 2) universe-canvas handles CONTENT HIERARCHY (galaxies, worlds, pages) - the organizational structure. These are complementary layers, not duplicates. Consolidating would violate single-responsibility principle.
📁 Files Involved
libs/libs-structural/structure-management/src/lib/components/universe-visual-editor/universe-visual-editor.component.tslibs/libs-structural/structure-management/src/lib/components/universe-structure-editor/universe-structure-editor.component.tslibs/libs-space/universe-canvas/src/lib/components/universe-structure-view/universe-structure-view.component.tslibs/libs-space/universe-canvas/src/lib/components/galaxy-canvas/galaxy-canvas.component.ts
🔗 Related
- Decision ID:
dev_1768494792936_t2uk60g - Session: 45
- Workspace: editor2
Auto-generated by MCP Smart Consolidation