Architecture: Should single-tab containers be unwrapped into standalone pa...
Documentation for Sessions
🏗️ Architecture: Should single-tab containers be unwrapped into standalone pa...
📋 Decision Context
Question:
Should single-tab containers be unwrapped into standalone panels?
Task: Treat all section titles as tabs even with single tab
🎯 Decision Made
Chosen:
Keep single-tab groups for consistent UI
Options Considered:
- Unwrap single-tab groups (old behavior)
- Keep single-tab groups for consistent UI (new behavior)
💭 Reasoning
All panels should have access to tab bar features: actions menu, expand/maximize buttons, consistent drag-drop targets. Unwrapping single tabs created inconsistent UX where some panels had features and others didn't. The extra DOM wrapper is negligible overhead for significant UX improvement.
📁 Files Involved
libs/libs-ui/dock-layout/src/lib/utils/layout-tree.utils.ts
🔗 Related
- Decision ID:
dev_1768229596227_vbnk8fd - Session: 38
- Workspace: editor2
Auto-generated by MCP Smart Consolidation