feat(web): adjustable workspace partitions, floating areas and uncluttered panels
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

- Add workspace-layout.tsx: three draggable separators (viewport/right column,
  viewport/timeline, outliner/properties) with pointer, arrow-key and
  double-click reset, remembered in one shared localStorage record.
- Areas can pop out of the grid into floating windows from the area menu; the
  same section is only re-positioned, so the WebGL canvas and editor state
  survive. Title-bar drag, corner resize, dock button and grid placeholder.
- Viewport overlays (N-panel, tool shelf, shading/navigation cluster) are
  draggable inside the viewport, with reset and a 视图 menu entry to reopen
  them.
- Remove overlap: the docked quick toolbar gets its own grid band, the area
  switcher moves into the header (and only fades in over headerless areas),
  properties controls wrap when the column narrows, the N-panel stops growing
  to 714px, and the 901-1280px media query no longer freezes the right column
  at 290px over the draggable variable.
- New spec wbv2-workspace-layout-production with evidence in
  tests/golden/WEB-WORKSPACE-LAYOUT-20261123 (NOT_CLAIMED); status doc records
  the local regressions, the A/B that pinned them and the online walk at
  1440x900 and 1280x800 on release 20261124-workinf_blender_wasm-2c8449f42.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
mes123456
2026-11-24 04:33:38 +08:00
parent 2c8449f422
commit 570aa2dd54
18 changed files with 1006 additions and 42 deletions

View File

@@ -0,0 +1,23 @@
{
"schemaVersion": 1,
"browser": "chromium",
"storage": "OPFS",
"workflow": "properties area menu -> 浮动为独立窗口 -> drag title bar -> dock",
"floating": {
"position": "fixed",
"rect": {
"x": 1280,
"y": 353,
"width": 320,
"height": 627
}
},
"moved": {
"x": 1420,
"y": 433,
"width": 320,
"height": 627
},
"status": "PASS",
"acceptance": "NOT_CLAIMED"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

View File

@@ -0,0 +1,59 @@
{
"schemaVersion": 1,
"browser": "chromium",
"storage": "OPFS",
"origin": "https://49.232.250.35:58014",
"workflow": "splitter drag -> properties float + move + dock -> N-panel drag (online release 20261124-workinf_blender_wasm-2c8449f42)",
"beforeProperties": {
"x": 990,
"y": 286,
"width": 290,
"height": 494
},
"afterProperties": {
"x": 880,
"y": 286,
"width": 400,
"height": 494
},
"splits": {
"rightWidth": 400,
"timelineHeight": 108,
"outlinerShare": 0.3333333333333333
},
"floatingPosition": "fixed",
"floatingRect": {
"x": 880,
"y": 286,
"width": 400,
"height": 494
},
"floatedMoved": {
"x": 1000,
"y": 356,
"width": 400,
"height": 494
},
"dockedFloating": 0,
"viewportRect": {
"x": 0,
"y": 93,
"width": 879,
"height": 578
},
"sidebarRect": {
"x": 470,
"y": 411,
"width": 407,
"height": 258
},
"offsets": {
"viewport-n-panel": {
"x": -2,
"y": 6
}
},
"pageErrors": [],
"status": "PASS",
"acceptance": "NOT_CLAIMED"
}

View File

@@ -0,0 +1,59 @@
{
"schemaVersion": 1,
"browser": "chromium",
"storage": "OPFS",
"origin": "https://49.232.250.35:58014",
"workflow": "splitter drag -> properties float + move + dock -> N-panel drag (online release 20261124-workinf_blender_wasm-2c8449f42)",
"beforeProperties": {
"x": 1120,
"y": 320,
"width": 320,
"height": 560
},
"afterProperties": {
"x": 1010,
"y": 320,
"width": 430,
"height": 560
},
"splits": {
"rightWidth": 430,
"timelineHeight": 108,
"outlinerShare": 0.3333333333333333
},
"floatingPosition": "fixed",
"floatingRect": {
"x": 1010,
"y": 320,
"width": 430,
"height": 560
},
"floatedMoved": {
"x": 1130,
"y": 390,
"width": 430,
"height": 560
},
"dockedFloating": 0,
"viewportRect": {
"x": 0,
"y": 93,
"width": 1009,
"height": 678
},
"sidebarRect": {
"x": 600,
"y": 455,
"width": 407,
"height": 293
},
"offsets": {
"viewport-n-panel": {
"x": -2,
"y": 50
}
},
"pageErrors": [],
"status": "PASS",
"acceptance": "NOT_CLAIMED"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

View File

@@ -0,0 +1,51 @@
{
"schemaVersion": 1,
"browser": "chromium",
"storage": "OPFS",
"workflow": "/?ui=web + basic_scene.blend -> drag right/timeline splitters -> reload -> ArrowRight -> double-click reset",
"before": {
"viewport": {
"x": 0,
"y": 93,
"width": 1279,
"height": 778
},
"properties": {
"x": 1280,
"y": 353,
"width": 320,
"height": 627
},
"timeline": {
"x": 0,
"y": 872,
"width": 1279,
"height": 108
}
},
"widened": {
"x": 1160,
"y": 353,
"width": 440,
"height": 627
},
"taller": {
"x": 0,
"y": 832,
"width": 1159,
"height": 148
},
"reloaded": {
"x": 1160,
"y": 339.65625,
"width": 440,
"height": 640.34375
},
"splits": {
"rightWidth": 320,
"timelineHeight": 108,
"outlinerShare": 0.3333333333333333
},
"status": "PASS",
"acceptance": "NOT_CLAIMED"
}

View File

@@ -0,0 +1,53 @@
{
"schemaVersion": 1,
"browser": "chromium",
"storage": "OPFS",
"workflow": "drag N-panel -> close/reopen with N -> reset -> drag quick tools -> T shelf -> drag header",
"viewportRect": {
"x": 0,
"y": 93,
"width": 1279,
"height": 778
},
"movedSidebar": {
"x": 870,
"y": 465,
"width": 407,
"height": 293
},
"movedQuick": {
"x": 1102.9375,
"y": 221,
"width": 34.0625,
"height": 354
},
"shading": {
"x": 1229,
"y": 209,
"width": 28,
"height": 61
},
"navigation": {
"x": 1229,
"y": 276,
"width": 28,
"height": 259
},
"offsets": {
"sidebar": {
"x": 0,
"y": 0
},
"quick": {
"x": -120,
"y": 40
},
"shelf": {
"x": 40,
"y": 2
}
},
"pageErrors": [],
"status": "PASS",
"acceptance": "NOT_CLAIMED"
}