LeanUI Docs
← Open LeanUI Studio GitHub

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.

LIVE GENERATED SVG · AUTO-UPDATED ON BUILD
Open SVG ↗
Docking IDE Zones, Layout Presets, Drag-to-Split & Floating Panel Windows Docking IDE Zones, Layout Presets, Drag-to-Split & Floating Panel Windows
Docking IDE Zones, Layout Presets, Drag-to-Split & Floating Panel Windows

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 & TabPanel IDPurpose
⊞ SolutionexplorerVirtualized Solution Explorer for 1,000+ modules, projects, filters, and 1.2k stress generator.
◈ PalettepaletteCategorized quick-add palette for all 67 node kinds (scope-aware for ControlTemplate editing) + Editable Templates launcher.
⚙ InspectorinspectorProperties, typed signatures, root container controls, one-click canvas wiring, connected wires, and omnidirectional debug/code links for selected node(s) or edge.
▶ PreviewpreviewLive 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.
⏱ TimelinemonitorRuntime State & Lean Invariant Monitor with full state history tracing, diff inspector, VCR replay, scrubber, and JSON trace export.
⌖ DebugdebugExecution path step-through debugger, breakpoint manager, watch expressions, and omnidirectional scope links.
✓ ProofsproofsFormal 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 4leanLive syntax-highlighted Lean 4 specification with bidirectional source-map line jumps and gutter breakpoints.
◇ HTMLhtmlLive syntax-highlighted standalone HTML/JS output with bidirectional source-map line jumps.
⚛ ReacttsxLive syntax-highlighted typed React + TypeScript output with bidirectional source-map line jumps.
▤ ConsoleconsoleStatic & Lean 4 compiler diagnostics, WASM/Native backend switcher, and incremental ✓ Verify Solution.
🔌 MCPmcpLive 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), or Shift+Click any tab to open it immediately as Pane 2. Drag the inner splitter bar to resize splitRatio (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, or Reset 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 in localStorage), or toggle visibility with Map in the Canvas HUD.
  • 4 Built-In Docking Presets (topbar selector): IDE Default, Graph Focus, Design & UI, and Proofs & 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 in localStorage (color-scheme), clears storage when returning to OS preference, and syncs live across browser tabs via storage events.
  • High-Contrast WCAG AAA Mode (AAA) & UI Density Presets (Normal / Compact / Touch): Click AAA in the topbar for a pure-black/pure-white WCAG AAA high-contrast Studio chrome (data-contrast="aaa"), and switch UI density (Compact, Normal, Touch 36px targets via data-density), persisted in localStorage.
  • Responsive Main Preview Viewport Switcher (Desk | Tab | Mob): Switch the Live Preview browser frame between Desktop, Tablet (768px), and Mobile (390px) to preview responsive grid (mdColumns/smColumns), container (mobileLayout), and split_view (mobileLayout) breakpoints live.

4. Keyboard Shortcuts Reference#

ShortcutScopeAction
Cmd/Ctrl + K or Cmd/Ctrl + PGlobalOpen Command, Module (1,000+) & Node Search Palette
Cmd/Ctrl + ZGraphUndo
Cmd/Ctrl + Shift + Z or Cmd/Ctrl + YGraphRedo
Cmd/Ctrl + AGraphSelect all nodes on canvas
Cmd/Ctrl + C / X / VGraphCopy / Cut / Paste selected nodes & internal edges
Cmd/Ctrl + DGraphDuplicate selection
Cmd/Ctrl + GGraphGroup selected nodes into a Group Frame
Delete / BackspaceGraphDelete selected node(s) or edge (deleting a Reroute auto-heals the wire)
Alt + BackspaceGraphBypass & heal wires around the selected single node
EscapeGraphCancel active wiring, active drag, or clear selection
Space + Drag / Middle-ClickGraphPan infinite canvas from anywhere (even over nodes or in Select mode)
FGraphFit selected nodes (or entire graph) into view
0GraphReset canvas view to origin (0, 0) at 100% zoom
Double-Click / Shift + Click (on wire)GraphSplice a Reroute waypoint onto the wire
Right-Click (on wire)GraphOpen Wire Context Menu (Reroute, Wireless Portals, Insert Node, Delete)
Alt (held during node drag)GraphTemporarily disable wire-splitting & magnetic auto-connect
Shift + Click (on dock tab)DockingOpen tab directly in Split Pane 2
Alt + Click (in Live Preview)PreviewInspect UI element (jumps to Canvas node, state & code without triggering actions)
F9DebuggerToggle breakpoint on selected node
F10DebuggerStep to next node in Execution Path
F5DebuggerContinue / resume execution when paused
← / → (inside Timeline)TimelineStep backward / forward through recorded state history
Diagram Preview
Enlarged diagram