Add Windows menu and dock layout presets to Run View#2512
Conversation
🎩 PreviewA preview build has been created at: |
|
Question because it has come up x2 times now: Will any of this work help the existing Tangle users who may have localstorage in an old, not-ideal state? Both @yuechao-qin and I had to clear our local storage to get the runs V2 page into a usable state. I'm thinking we probably need a programmatic reset for V2 runs page - like a new key in local storage or some form of detection of poor layout configuration with a reset side effect. Unfortunatley I know longer have my old local storage to say what it looked like |
9e22e79 to
bbb6714
Compare
bbb6714 to
d2595bb
Compare
4a603a5 to
c922def
Compare
c922def to
0e16bac
Compare
|
@morgan-wowk Yes — this now uses a new |
0e16bac to
53f7109
Compare
53f7109 to
342a3e9
Compare

Description
Introduces a Windows menu to the Run View menu bar, allowing users to toggle the visibility of individual windows and apply layout presets. A new
runViewWindowPresets.tsmodule centralizes window IDs and defines the available presets:Window IDs for Run Tools, Run Details, and AI Assistant are now exported from a single source of truth, replacing previously scattered local constants. Each window is assigned a
defaultDockStateso they snap to their intended dock side on first open.A
DockAreafor the left side is added to the Run View layout to support docked windows.Related Issue and Pull requests
Type of Change
Checklist
Screenshots (if applicable)
Test Instructions
Additional Comments
Tests for the preset logic are included in
runViewWindowPresets.test.ts, covering both the default docking layout and the minimal hide-all behavior.