Architecture: What structure to use for the custom dock-layout library?

Documentation for Sessions

🏗️ Architecture: What structure to use for the custom dock-layout library?

📋 Decision Context

Question:

What structure to use for the custom dock-layout library?

Task: Session 38: Phase 1 - Create dock-layout library scaffold


🎯 Decision Made

Chosen:

Created complete library with 8 components, 4 services, 2 directives, 3 models, 3 utils

Options Considered:

  1. Complete library scaffold
  2. Minimal MVP first
  3. Copy from Dockview patterns

💭 Reasoning

The library follows existing libs-ui patterns with: DockContainerComponent (root), DockSplitComponent (recursive splits), DockTabsComponent (tab groups), DockPanelComponent (content wrapper), DockSplitterComponent (resize bars), DockFloatingWindowComponent (floating panels), DockDropPreviewComponent (visual feedback), plus services for state/drag/window management and utilities for hit-testing, layout-tree manipulation, and serialization.


📁 Files Involved


🔗 Related


Auto-generated by MCP Smart Consolidation