06 · Docking IDE, Industrial Themes & Keyboard Shortcuts#
LeanUI Studio features a pointer-driven docking workspace across 12 modular panels and an industrial neutral gray Light / Dark / System theme engine designed so IDE chrome stays quiet and your graph, UI, proofs, and code stay in focus.
Want a focused snapshot + interaction playbook for every single panel? See Every Studio Panel & Interactions Guide (All 12 Panels).
1. All 12 Dockable, Splittable & Floatable Panels#
| Icon & Tab | Panel ID | Purpose |
|---|---|---|
⊞ Solution | explorer | Virtualized Solution Explorer for 1,000+ modules, projects, filters, and 1.2k stress generator. |
◈ Palette | palette | Categorized quick-add palette for all 67 node kinds (scope-aware for ControlTemplate editing) + Editable Templates launcher. |
⚙ Inspector | inspector | Properties, typed signatures, root container controls, one-click canvas wiring, connected wires, and omnidirectional debug/code links for selected node(s) or edge. |
▶ Preview | preview | Live interactive UI preview frame (and WYSIWYG ControlTemplate Stage with State/Theme/Locale/Slot simulators when inside ❖ scope) with ⌖ Inspect element picker, i18n locale switcher, Reset, and Connected Views strip. |
⏱ Timeline | monitor | Runtime State & Lean Invariant Monitor with full state history tracing, diff inspector, VCR replay, scrubber, and JSON trace export. |
⌖ Debug | debug | Execution path step-through debugger, breakpoint manager, watch expressions, and omnidirectional scope links. |
✓ Proofs | proofs | Formal Proofs & Constraints matrix (12 built-in Lean 4 theorems, user lean_theorem & proof_rule cards, control_templates_valid, WCAG style & i18n resource audits) + 5-mode Interactive Proof Visualizer. |
λ Lean 4 | lean | Live syntax-highlighted Lean 4 specification with bidirectional source-map line jumps and gutter breakpoints. |
◇ HTML | html | Live syntax-highlighted standalone HTML/JS output with bidirectional source-map line jumps. |
⚛ React | tsx | Live syntax-highlighted typed React + TypeScript output with bidirectional source-map line jumps. |
▤ Console | console | Static & Lean 4 compiler diagnostics, WASM/Native backend switcher, and incremental ✓ Verify Solution. |
🔌 MCP | mcp | Live Model Context Protocol dashboard (endpoint status, Push/Pull graph sync, interactive tool runner, and client config copy). |
2. State-of-the-Art Pointer Docking System#
Every one of the 12 panels can live in Left, Right, Bottom, Center Split (beside the Canvas), or as an independent Floating Window. All layout changes persist automatically in localStorage (leanui_dock_layout_v6).
Drag & Drop with Live Visual Previews#
- 60fps Drag Ghost: Grab any dock tab, secondary split pane title, or floating window header with mouse, trackpad, or touch to see a live ghost card showing the panel and exact drop action.
- In-Strip Tab Reordering: Drag horizontally across any tab bar to see a crisp 2px insertion caret and drop the tab at any exact position (within the same zone or across zones).
- Geometric Drop Preview & 5-Way Compass: Hover over any dock zone body to see a translucent preview rectangle snapping to the exact target area plus a 5-Way Dock Compass (
↑ Top Split,← Left Split,● Merge Tab,→ Right Split,↓ Bottom Split). - Canvas Edge Drop: Drag any panel onto the right edge of the Graph Canvas to open Center Split side-by-side beside the Canvas; drop on the left or bottom edge to dock into Left/Bottom.
- Drag Out to Float / Drag In to Dock: Drop a dragged tab into open space to pop it out into a resizable Floating Window at cursor coordinates; drag any floating window's titlebar over a dock zone to snap it straight back in.
Split Panes, Context Menu & Presets#
- Split Any Zone: Click
⊟(vertical split in Left/Right/CenterSplit) or◫(horizontal split in Bottom), orShift+Clickany tab to open it immediately as Pane 2. Drag the inner splitter bar to resizesplitRatio(20%–80%), switch Pane 2 via its inline<select>, float it (❐), or close the split (×). - Hover-Revealed Move Arrows: Hover over any dock tab bar to reveal 1-click zone transfer buttons (
◧,◫,◨,⬓). - Right-Click Tab Context Menu: Right-click any tab for instant
Split,Pop Out,Move to Zone,Maximize Zone, orReset Default Dock Layout. - Double-Click Zone Maximize: Double-click empty space in any dock tab bar to zoom that zone; double-click again to restore.
- Collapsed Activity Rails: Click
—on Left or Right dock to collapse it into a clean 40px vertical icon rail (with zero horizontal scrollbar overflow); click any rail icon to expand straight to that panel. - Minimizable 2D Canvas Minimap: Click the
−minimize button in the Minimap overlay header to collapse it into a compact floating pill (persisted inlocalStorage), or toggle visibility withMapin the Canvas HUD. - 4 Built-In Docking Presets (topbar selector):
IDE Default,Graph Focus,Design & UI, andProofs & Code.
3. Industrial Light / Dark / System Theme#
LeanUI uses an achromatic industrial gray palette (Obsidian/Graphite in Dark Mode; Architectural Drafting Paper in Light Mode) so non-essential chrome stays calm and semantic color accents stand out strictly on node category stripes, verification proofs, diffs, and active selections:
- FOUC-Free Initialization:
<meta name="color-scheme" content="light dark">paired with a synchronous inline<script>restores your saved preference before first paint. - Smart Theme Toggle (
☀ / ☾): Follows OS preference by default (light dark); clicking toggles between Light and Dark, persists explicit overrides inlocalStorage(color-scheme), clears storage when returning to OS preference, and syncs live across browser tabs viastorageevents. - High-Contrast WCAG AAA Mode (
AAA) & UI Density Presets (Normal / Compact / Touch): ClickAAAin the topbar for a pure-black/pure-white WCAG AAA high-contrast Studio chrome (data-contrast="aaa"), and switch UI density (Compact,Normal,Touch36px targets viadata-density), persisted inlocalStorage. - Responsive Main Preview Viewport Switcher (
Desk | Tab | Mob): Switch the Live Preview browser frame between Desktop, Tablet (768px), and Mobile (390px) to preview responsivegrid(mdColumns/smColumns),container(mobileLayout), andsplit_view(mobileLayout) breakpoints live.
4. Keyboard Shortcuts Reference#
| Shortcut | Scope | Action |
|---|---|---|
Cmd/Ctrl + K or Cmd/Ctrl + P | Global | Open Command, Module (1,000+) & Node Search Palette |
Cmd/Ctrl + Z | Graph | Undo |
Cmd/Ctrl + Shift + Z or Cmd/Ctrl + Y | Graph | Redo |
Cmd/Ctrl + A | Graph | Select all nodes on canvas |
Cmd/Ctrl + C / X / V | Graph | Copy / Cut / Paste selected nodes & internal edges |
Cmd/Ctrl + D | Graph | Duplicate selection |
Cmd/Ctrl + G | Graph | Group selected nodes into a Group Frame |
Delete / Backspace | Graph | Delete selected node(s) or edge (deleting a Reroute auto-heals the wire) |
Alt + Backspace | Graph | Bypass & heal wires around the selected single node |
Escape | Graph | Cancel active wiring, active drag, or clear selection |
Space + Drag / Middle-Click | Graph | Pan infinite canvas from anywhere (even over nodes or in Select mode) |
F | Graph | Fit selected nodes (or entire graph) into view |
0 | Graph | Reset canvas view to origin (0, 0) at 100% zoom |
Double-Click / Shift + Click (on wire) | Graph | Splice a Reroute waypoint onto the wire |
Right-Click (on wire) | Graph | Open Wire Context Menu (Reroute, Wireless Portals, Insert Node, Delete) |
Alt (held during node drag) | Graph | Temporarily disable wire-splitting & magnetic auto-connect |
Shift + Click (on dock tab) | Docking | Open tab directly in Split Pane 2 |
Alt + Click (in Live Preview) | Preview | Inspect UI element (jumps to Canvas node, state & code without triggering actions) |
F9 | Debugger | Toggle breakpoint on selected node |
F10 | Debugger | Step to next node in Execution Path |
F5 | Debugger | Continue / resume execution when paused |
← / → (inside Timeline) | Timeline | Step backward / forward through recorded state history |