- Offscreen worker backend publishes the camera probe, so the G/R/S modal's pointer basis, transform gizmo and wireframe work on both renderers. - Edit-mode INDIVIDUAL_ORIGINS pivots every connected island on its own centre, committed as one grouped transaction (T(P)·R·S·T(-P) in object space). - Gizmo hits carry the pivot index; orthographic views size the axes from the visible world height instead of the 45° fov fallback. - View-menu navigation no longer switches workspace when a viewport is already on screen (the engine workspace transaction dropped the editor out of Edit). - Modal commits queue behind the shared command tail, so a trailing editEditorContext cannot consume the user's first Ctrl+Z. - Floating sidebar rotation field confirmed in degrees; headed cases for the offscreen path, per-island pivots and the sidebar unit, plus receipts/docs. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
48 lines
2.0 KiB
JSON
48 lines
2.0 KiB
JSON
{
|
||
"schemaVersion": 1,
|
||
"id": "ch30",
|
||
"number": 30,
|
||
"part": "part-f",
|
||
"title": "Preferences、Keymap、快捷栏与启动工作区",
|
||
"level": "进阶",
|
||
"workspace": "Layout",
|
||
"minutes": 6,
|
||
"summary": "打开偏好设置,保存一次偏好到 OPFS,确认设置会随浏览器存储保留。",
|
||
"objectives": ["打开偏好设置窗口", "保存偏好到 OPFS", "确认保存结果"],
|
||
"setup": { "workspace": "Layout" },
|
||
"steps": [
|
||
{
|
||
"id": "ch30-s1",
|
||
"title": "打开偏好设置",
|
||
"text": "「编辑 → 偏好设置」打开设置窗口,左侧是分组导航。",
|
||
"target": { "role": "menuitem", "name": "偏好设置" },
|
||
"checks": [
|
||
{ "kind": "exists", "target": { "testid": "preferences-window" }, "label": "偏好设置窗口已打开" }
|
||
],
|
||
"demo": [
|
||
{ "kind": "click", "target": { "role": "button", "name": "编辑" } },
|
||
{ "kind": "click", "target": { "role": "menuitem", "name": "偏好设置" } }
|
||
]
|
||
},
|
||
{
|
||
"id": "ch30-s2",
|
||
"title": "保存偏好",
|
||
"text": "点击「保存偏好」,设置写入浏览器 OPFS,刷新后仍然生效。",
|
||
"target": { "role": "button", "name": "保存偏好" },
|
||
"checks": [
|
||
{ "kind": "text", "target": { "testid": "preferences-window" }, "matches": "已保存到 OPFS", "label": "窗口显示「已保存到 OPFS」" }
|
||
],
|
||
"demo": [{ "kind": "click", "target": { "role": "button", "name": "保存偏好" } }]
|
||
},
|
||
{
|
||
"id": "ch30-s3",
|
||
"title": "按分组浏览设置",
|
||
"text": "左侧导航把设置分成若干组(界面、文件路径、快捷键等);改动后同样要「保存偏好」才会持久化。",
|
||
"target": { "css": "[data-testid=\"preferences-window\"] nav button" },
|
||
"checks": [
|
||
{ "kind": "count", "target": { "css": "[data-testid=\"preferences-window\"] nav button" }, "atLeast": 3, "label": "偏好设置至少有 3 个分组" }
|
||
]
|
||
}
|
||
]
|
||
}
|