Repository navigation
editor: saved dock layouts and Option shortcut hints - #4903
Conversation
Perf gateHead host slug: perf comparison: 0dd14fe → 2a30ce2-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
258.205 → 246.514 (-4.5%) |
| RENDER | ComputeLightVolume |
34.149 → 32.168 (-5.8%) ↓ |
| RENDER | CanvasToFramebuffer |
17.800 → 16.604 (-6.7%) ↓ |
| RENDER | BakeSunShadowMap |
10.418 → 9.507 (-8.7%) ↓ |
| RENDER | ComputeSunShadow |
8.107 → 7.201 (-11.2%) ↓ |
| UPDATE | PropagateTransform |
4.805 → 4.826 (+0.4%) |
| UPDATE | FogRevealEval |
4.286 → 4.192 (-2.2%) |
| RENDER | ComputeVoxelAO |
4.093 → 3.793 (-7.3%) ↓ |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1032.022 → 1027.273 (-0.5%) |
| RENDER | ComputeLightVolume |
29.065 → 28.991 (-0.3%) |
| RENDER | ComputeSunShadow |
22.141 → 21.684 (-2.1%) |
| RENDER | CanvasToFramebuffer |
16.550 → 16.138 (-2.5%) |
| RENDER | ComputeVoxelAO |
9.643 → 9.276 (-3.8%) |
| RENDER | BakeSunShadowMap |
9.093 → 8.816 (-3.0%) |
| RENDER | LightingToTrixel |
8.765 → 8.448 (-3.6%) |
| UPDATE | PropagateTransform |
4.763 → 4.742 (-0.4%) |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
289.372 → 296.707 (+2.5%) |
| RENDER | ComputeSunShadow |
55.321 → 53.942 (-2.5%) |
| RENDER | LightingToTrixel |
36.045 → 35.099 (-2.6%) |
| RENDER | ComputeLightVolume |
32.823 → 32.197 (-1.9%) |
| RENDER | BakeSunShadowMap |
22.611 → 22.317 (-1.3%) |
| RENDER | CanvasToFramebuffer |
17.555 → 17.182 (-2.1%) |
| RENDER | FogToTrixel |
7.071 → 7.075 (+0.1%) |
| UPDATE | PropagateTransform |
6.047 → 6.152 (+1.7%) |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1464.334 → 1459.101 (-0.4%) |
| RENDER | ComputeLightVolume |
29.522 → 28.940 (-2.0%) |
| RENDER | ComputeSunShadow |
18.700 → 18.352 (-1.9%) |
| RENDER | CanvasToFramebuffer |
16.419 → 16.270 (-0.9%) |
| RENDER | BakeSunShadowMap |
8.826 → 8.936 (+1.2%) |
| RENDER | ComputeVoxelAO |
7.817 → 7.550 (-3.4%) |
| RENDER | LightingToTrixel |
6.778 → 6.390 (-5.7%) ↓ |
| UPDATE | PropagateTransform |
6.172 → 6.340 (+2.7%) |
fad06b5 to
72a9508
Compare
|
Rebased onto the rewritten parent: the stack below was replayed onto master after #4882 merged, so this layer's owned commits ( |
Perf gateHead host slug: perf comparison: a3d54c9 → 67a92a4-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
247.886 → 255.460 (+3.1%) |
| RENDER | ComputeLightVolume |
32.632 → 34.104 (+4.5%) |
| RENDER | CanvasToFramebuffer |
17.085 → 17.407 (+1.9%) |
| RENDER | BakeSunShadowMap |
9.662 → 10.323 (+6.8%) |
| RENDER | ComputeSunShadow |
7.624 → 7.880 (+3.4%) |
| UPDATE | PropagateTransform |
4.519 → 4.711 (+4.2%) |
| UPDATE | FogRevealEval |
4.190 → 4.244 (+1.3%) |
| RENDER | ComputeVoxelAO |
3.904 → 4.132 (+5.8%) |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1025.715 → 1026.990 (+0.1%) |
| RENDER | ComputeLightVolume |
29.338 → 29.043 (-1.0%) |
| RENDER | ComputeSunShadow |
21.864 → 21.867 (+0.0%) |
| RENDER | CanvasToFramebuffer |
15.908 → 16.086 (+1.1%) |
| RENDER | ComputeVoxelAO |
9.249 → 9.408 (+1.7%) |
| RENDER | BakeSunShadowMap |
8.417 → 8.655 (+2.8%) |
| RENDER | LightingToTrixel |
8.371 → 8.418 (+0.6%) |
| UPDATE | PropagateTransform |
4.405 → 4.521 (+2.6%) |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
288.688 → 296.469 (+2.7%) |
| RENDER | ComputeSunShadow |
55.366 → 55.591 (+0.4%) |
| RENDER | LightingToTrixel |
36.271 → 35.857 (-1.1%) |
| RENDER | ComputeLightVolume |
32.424 → 32.569 (+0.4%) |
| RENDER | BakeSunShadowMap |
22.377 → 22.513 (+0.6%) |
| RENDER | CanvasToFramebuffer |
17.441 → 17.439 (-0.0%) |
| RENDER | FogToTrixel |
7.107 → 7.064 (-0.6%) |
| UPDATE | PropagateTransform |
6.121 → 6.127 (+0.1%) |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1457.395 → 1459.300 (+0.1%) |
| RENDER | ComputeLightVolume |
29.173 → 29.092 (-0.3%) |
| RENDER | ComputeSunShadow |
18.725 → 18.365 (-1.9%) |
| RENDER | CanvasToFramebuffer |
16.205 → 16.300 (+0.6%) |
| RENDER | BakeSunShadowMap |
8.811 → 8.883 (+0.8%) |
| RENDER | ComputeVoxelAO |
8.092 → 7.713 (-4.7%) |
| RENDER | LightingToTrixel |
6.600 → 6.747 (+2.2%) |
| UPDATE | PropagateTransform |
6.104 → 6.099 (-0.1%) |
875928b to
683a601
Compare
Perf gateHead host slug: perf comparison: a3d54c9 → a33ebae-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
247.886 → 256.870 (+3.6%) |
| RENDER | ComputeLightVolume |
32.632 → 34.538 (+5.8%) |
| RENDER | CanvasToFramebuffer |
17.085 → 17.565 (+2.8%) |
| RENDER | BakeSunShadowMap |
9.662 → 10.328 (+6.9%) |
| RENDER | ComputeSunShadow |
7.624 → 7.821 (+2.6%) |
| UPDATE | PropagateTransform |
4.519 → 4.991 (+10.4%) ⚠ |
| UPDATE | FogRevealEval |
4.190 → 4.253 (+1.5%) |
| RENDER | ComputeVoxelAO |
3.904 → 4.019 (+2.9%) |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1025.715 → 1034.064 (+0.8%) |
| RENDER | ComputeLightVolume |
29.338 → 29.330 (-0.0%) |
| RENDER | ComputeSunShadow |
21.864 → 21.829 (-0.2%) |
| RENDER | CanvasToFramebuffer |
15.908 → 16.103 (+1.2%) |
| RENDER | ComputeVoxelAO |
9.249 → 9.589 (+3.7%) |
| RENDER | BakeSunShadowMap |
8.417 → 8.803 (+4.6%) |
| RENDER | LightingToTrixel |
8.371 → 8.351 (-0.2%) |
| UPDATE | PropagateTransform |
4.405 → 4.433 (+0.6%) |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
288.688 → 295.765 (+2.5%) |
| RENDER | ComputeSunShadow |
55.366 → 57.711 (+4.2%) |
| RENDER | LightingToTrixel |
36.271 → 37.083 (+2.2%) |
| RENDER | ComputeLightVolume |
32.424 → 32.953 (+1.6%) |
| RENDER | BakeSunShadowMap |
22.377 → 23.083 (+3.2%) |
| RENDER | CanvasToFramebuffer |
17.441 → 18.291 (+4.9%) |
| RENDER | FogToTrixel |
7.107 → 7.177 (+1.0%) |
| UPDATE | PropagateTransform |
6.121 → 6.229 (+1.8%) |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1457.395 → 1460.111 (+0.2%) |
| RENDER | ComputeLightVolume |
29.173 → 29.364 (+0.7%) |
| RENDER | ComputeSunShadow |
18.725 → 19.190 (+2.5%) |
| RENDER | CanvasToFramebuffer |
16.205 → 16.638 (+2.7%) |
| RENDER | BakeSunShadowMap |
8.811 → 8.987 (+2.0%) |
| RENDER | ComputeVoxelAO |
8.092 → 7.608 (-6.0%) ↓ |
| RENDER | LightingToTrixel |
6.600 → 6.860 (+3.9%) |
| UPDATE | PropagateTransform |
6.104 → 6.156 (+0.9%) |
Perf gateHead host slug: perf comparison: 2f0f893 → a33ebae-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
155.605 → 153.405 (-1.4%) |
| RENDER | ComputeLightVolume |
23.730 → 22.566 (-4.9%) |
| RENDER | CanvasToFramebuffer |
11.479 → 11.358 (-1.1%) |
| RENDER | BakeSunShadowMap |
6.753 → 6.641 (-1.7%) |
| RENDER | ComputeSunShadow |
4.924 → 4.469 (-9.2%) ↓ |
| UPDATE | PropagateTransform |
2.752 → 2.752 (+0.0%) |
| UPDATE | FogRevealEval |
2.349 → 2.551 (+8.6%) |
| RENDER | LightingToTrixel |
2.735 → 2.496 (-8.7%) ↓ |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
594.720 → 588.888 (-1.0%) |
| RENDER | ComputeLightVolume |
21.725 → 21.082 (-3.0%) |
| RENDER | ComputeSunShadow |
13.222 → 12.880 (-2.6%) |
| RENDER | CanvasToFramebuffer |
11.138 → 10.210 (-8.3%) ↓ |
| RENDER | BakeSunShadowMap |
6.059 → 5.675 (-6.3%) ↓ |
| RENDER | LightingToTrixel |
5.535 → 5.227 (-5.6%) ↓ |
| RENDER | ComputeVoxelAO |
4.965 → 4.559 (-8.2%) ↓ |
| UPDATE | PropagateTransform |
2.529 → 2.562 (+1.3%) |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
174.134 → 175.706 (+0.9%) |
| RENDER | ComputeSunShadow |
23.916 → 25.442 (+6.4%) |
| RENDER | ComputeLightVolume |
23.033 → 23.434 (+1.7%) |
| RENDER | LightingToTrixel |
14.300 → 14.845 (+3.8%) |
| RENDER | CanvasToFramebuffer |
11.948 → 12.021 (+0.6%) |
| RENDER | BakeSunShadowMap |
8.083 → 8.438 (+4.4%) |
| UPDATE | PropagateTransform |
3.815 → 3.907 (+2.4%) |
| RENDER | FogToTrixel |
3.579 → 3.641 (+1.7%) |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
827.933 → 822.458 (-0.7%) |
| RENDER | ComputeLightVolume |
21.308 → 20.808 (-2.3%) |
| RENDER | ComputeSunShadow |
11.119 → 10.624 (-4.5%) |
| RENDER | CanvasToFramebuffer |
10.617 → 10.240 (-3.6%) |
| RENDER | BakeSunShadowMap |
6.161 → 5.912 (-4.0%) |
| RENDER | LightingToTrixel |
4.223 → 4.136 (-2.1%) |
| RENDER | ComputeVoxelAO |
3.877 → 3.789 (-2.3%) |
| UPDATE | PropagateTransform |
3.787 → 3.724 (-1.7%) |
Perf gateHead host slug: perf comparison: bb78d69 → 4643e45-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
259.823 → 239.445 (-7.8%) ↓ |
| RENDER | ComputeLightVolume |
37.661 → 41.885 (+11.2%) ⚠ |
| RENDER | CanvasToFramebuffer |
18.125 → 19.766 (+9.1%) |
| RENDER | BakeSunShadowMap |
0.238 → 9.945 (+4078.6%) ⚠ |
| RENDER | ComputeSunShadow |
6.157 → 8.269 (+34.3%) ⚠ |
| UPDATE | PropagateTransform |
4.992 → 4.896 (-1.9%) |
| UPDATE | FogRevealEval |
3.808 → 4.519 (+18.7%) ⚠ |
| RENDER | LightingToTrixel |
3.820 → 4.481 (+17.3%) ⚠ |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1043.404 → 926.325 (-11.2%) ↓ |
| RENDER | ComputeLightVolume |
31.649 → 36.531 (+15.4%) ⚠ |
| RENDER | ComputeSunShadow |
16.333 → 21.824 (+33.6%) ⚠ |
| RENDER | CanvasToFramebuffer |
16.630 → 18.510 (+11.3%) ⚠ |
| RENDER | LightingToTrixel |
7.758 → 8.752 (+12.8%) ⚠ |
| RENDER | BakeSunShadowMap |
0.236 → 8.696 (+3584.7%) ⚠ |
| RENDER | ComputeVoxelAO |
9.193 → 7.488 (-18.5%) ↓ |
| UPDATE | PropagateTransform |
4.765 → 4.773 (+0.2%) |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
290.184 → 267.760 (-7.7%) ↓ |
| RENDER | ComputeSunShadow |
51.563 → 45.284 (-12.2%) ↓ |
| RENDER | ComputeLightVolume |
35.815 → 39.149 (+9.3%) |
| RENDER | LightingToTrixel |
33.295 → 25.761 (-22.6%) ↓ |
| RENDER | CanvasToFramebuffer |
18.265 → 19.781 (+8.3%) |
| RENDER | BakeSunShadowMap |
3.645 → 13.009 (+256.9%) ⚠ |
| UPDATE | PropagateTransform |
6.821 → 6.836 (+0.2%) |
| RENDER | FogToTrixel |
6.954 → 5.930 (-14.7%) ↓ |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1475.114 → 1307.508 (-11.4%) ↓ |
| RENDER | ComputeLightVolume |
31.550 → 37.588 (+19.1%) ⚠ |
| RENDER | CanvasToFramebuffer |
16.579 → 18.623 (+12.3%) ⚠ |
| RENDER | ComputeSunShadow |
12.076 → 18.003 (+49.1%) ⚠ |
| RENDER | BakeSunShadowMap |
0.237 → 8.600 (+3528.7%) ⚠ |
| RENDER | LightingToTrixel |
6.207 → 7.278 (+17.3%) ⚠ |
| UPDATE | PropagateTransform |
6.704 → 6.792 (+1.3%) |
| RENDER | ComputeVoxelAO |
7.600 → 6.286 (-17.3%) ↓ |
Perf gateHead host slug: perf comparison: a3d54c9 → 4643e45-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
247.886 → 258.045 (+4.1%) |
| RENDER | ComputeLightVolume |
32.632 → 34.448 (+5.6%) |
| RENDER | CanvasToFramebuffer |
17.085 → 17.870 (+4.6%) |
| RENDER | BakeSunShadowMap |
9.662 → 10.411 (+7.8%) |
| RENDER | ComputeSunShadow |
7.624 → 8.079 (+6.0%) |
| UPDATE | PropagateTransform |
4.519 → 4.833 (+6.9%) |
| UPDATE | FogRevealEval |
4.190 → 4.255 (+1.6%) |
| RENDER | LightingToTrixel |
3.850 → 4.116 (+6.9%) |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1025.715 → 1028.760 (+0.3%) |
| RENDER | ComputeLightVolume |
29.338 → 30.036 (+2.4%) |
| RENDER | ComputeSunShadow |
21.864 → 22.175 (+1.4%) |
| RENDER | CanvasToFramebuffer |
15.908 → 16.411 (+3.2%) |
| RENDER | ComputeVoxelAO |
9.249 → 9.584 (+3.6%) |
| RENDER | BakeSunShadowMap |
8.417 → 9.101 (+8.1%) |
| RENDER | LightingToTrixel |
8.371 → 8.751 (+4.5%) |
| UPDATE | PropagateTransform |
4.405 → 4.813 (+9.3%) |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
288.688 → 296.336 (+2.6%) |
| RENDER | ComputeSunShadow |
55.366 → 61.882 (+11.8%) ⚠ |
| RENDER | LightingToTrixel |
36.271 → 39.345 (+8.5%) |
| RENDER | ComputeLightVolume |
32.424 → 32.650 (+0.7%) |
| RENDER | BakeSunShadowMap |
22.377 → 23.646 (+5.7%) |
| RENDER | CanvasToFramebuffer |
17.441 → 18.227 (+4.5%) |
| RENDER | FogToTrixel |
7.107 → 7.440 (+4.7%) |
| UPDATE | PropagateTransform |
6.121 → 6.061 (-1.0%) |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1457.395 → 1458.730 (+0.1%) |
| RENDER | ComputeLightVolume |
29.173 → 29.256 (+0.3%) |
| RENDER | ComputeSunShadow |
18.725 → 18.363 (-1.9%) |
| RENDER | CanvasToFramebuffer |
16.205 → 16.667 (+2.9%) |
| RENDER | BakeSunShadowMap |
8.811 → 9.068 (+2.9%) |
| RENDER | ComputeVoxelAO |
8.092 → 7.942 (-1.9%) |
| RENDER | LightingToTrixel |
6.600 → 6.847 (+3.7%) |
| UPDATE | PropagateTransform |
6.104 → 6.194 (+1.5%) |
|
Holding review: upstream PR #4896 is not yet approved. This stacked PR will be re-evaluated once the upstream lands an approval label. |
jakildev
left a comment
There was a problem hiding this comment.
Review — editor: saved dock layouts, shortcut hints, and live-geometry pointer ownership
Verdict: approve
Stacked on #4896 (cross-author, approved). Reviewing the child diff only (fleet-pr diff 4903) at head 683a6017c; the fleet:awaiting-upstream-review gate is cleared. MERGEABLE/CLEAN, and the full rollup is green on this head (format-check, instruction-size, comment-refs, header-checks, no-plan-files, closes-lint, fleet-tests, linux-build, perf-gate). The perf-gate numbers are noise-level and, per its own note, measured against an unmerged base. The body has no Closes #, so there is no acceptance grading.
What it does. Panels become drag/snap/float groups (EditorDocks) with left/right scrollable rails and an atomic-write editor_layout.cfg, kept separate from authored documents. Backtick/F1 open a help guard that hides and covers all widgets and captures the keyboard. Option/Alt shows keycap hints resolved from the command registry, and tools get number-key commands 1–7. Pointer ownership now reads live C_Widget/C_GuiPosition geometry (widgetContainsCursor) instead of the k*PanelPos constants. On the engine side, the four pointer camera systems gain an optional canStartGesture_ predicate behind Camera::setGestureStartPredicate, so the editor's panels block Alt-orbit, Space-pan and middle-pan starts.
I checked these and found no defects:
getComponentOptionalreturnsnulloptforkNullEntityand for dead ids (entity_manager.hpp:519-530). So the unguardedwidgetContainsCursor(g_componentsPanel / g_recipesPanel / g_partSizePanel, …)calls are safe when the module UI is absent.EditorDocks::arrange()recurses only after demoting a FLOATING group to LEFT, so the recursion terminates.load()validates the magic, version, side range, coordinate range and unmatched-key count before mutatingm_groups, which fits the stage-then-commit rule.save()is write-to-temp then rename, and a failed open is caught by!stream.- Every dock path is a no-op when
m_pathis empty (before/collect/add/update/contains). Scripted sessions and profile runs therefore keep their old layout and hit-test geometry. - The predicate is a plain function pointer stored in the system params. There is no capture and no lifetime hazard, and release cleanup for an existing drag is untouched. The new engine test covers all four systems plus the null-clear path.
registerToggleCommand(int)already takes a button (help_overlay.hpp:83), so the second backtick registration needs no engine change.- No new mutable namespace-scope header variables, shader files, or serialized structs.
Nits (follow-up)
creations/editors/voxel_editor/editor_docks.hppattach()— thestd::erase_if(... m.id_ == widget ...)term can never match after the early-return loop above it. Only the dead-entity sweep does anything.editor_docks.hppm_clippedis anunordered_map<Id,bool>that only ever storestrue. Anunordered_set<Id>says what it is.editor_docks.hpparrange()/update()carry bare magic numbers (64min canvas gap,36.0fwheel step,15title-bar height,3drag threshold). Namedconstexprs next tokTop/kGapwould help the next person tuning the rails.editor_docks.hppusesstd::vectorandstd::stringbut does not include<vector>/<string>; it compiles through transitive includes.attach("components", …)runs for every field row every frame inupdateComponentsPanel. It is a linear scan per widget, which is fine at this size, but it would be cheaper to attach once at row-build time.
Praise
- Moving hit-testing onto live widget geometry fixes a whole class of "panel moved but its hit box didn't" bugs, and it deletes the duplicated rect constants in the process.
- The help guard hides and restores through the widget visibility flag and swallows the toggle keys at capture time. A single widget-system hook handles the "help owns input" contract with no per-panel special cases.
setGestureStartPredicateis a small, null-safe, test-covered engine seam, and it ignores absent systems.
Test plan the author should run before merge
- The Windows/OpenGL tier is tagged for a smoke run; this PR was authored and run on macOS/Metal.
Not run by me. I did not build or run the native editor sessions (workspace_controls, workspace_restore, test_dock_rails). The macOS/Metal pass counts and screenshots come from the PR body. The behaviour I verified is by code reading plus the CI rollup on this head. Disclosed baseline failures in the stack (#4918) are the author's and are not attributed to this PR.
Escalation: none. Safe for merge.
🤖 Reviewed by Claude Sonnet 5.5 (review-pr skill)
Opus recheck not required.
Add backtick help, registry-derived Option keycaps and direct tool shortcuts. Keep Help and moved UI surfaces in control of their input, using a reusable camera gesture-start predicate. Group editor controls into movable panels with persistent side-rail slots, floating placement, scrolling and layout reset. Resolve picking and framing against live widget geometry. Exercise restart persistence, scroll clipping and camera ownership in native authoring replays. Authored with Codex.
The evidence directories now live at media commit 6d2aca2; master keeps no committed PR screenshots. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
683a601 to
83be55d
Compare
Summary
Original implementation validation
Acceptance evidence
Screenshots
Same neutral module scene at startup, followed by the scroll and interaction checks.
Authored with Codex.
Stack validation — 2026-11-06
Replayed the owned editor commits onto merged master
f7b1dbfa2, preserving the four-PR chain. Range-diff inspection found no lost runtime hunks. Moved detailed validation/session contracts intodocs/design/editor-validation.mdto fix instruction-size CI. Corrected the newly inherited document-transition fixture's stale File/Discard click centers and made composite Save As repeatable.Validated the combined stack at
683a6017c8a7be6964c5872282cba5d982c839a3on macOS/Metal:Follow-up integration — 2026-11-07
The two parked follow-ups are reconciled in dependency order: #4903 → #4908 → #4918. #4908 maps Actions to the current tools and integer fields, isolates modal input, and keeps remapped badges synchronized. #4918 preserves the Shapes/dock UI gate and diagnoses replay clicks swallowed by UI.
Current evidence: 273 focused unit tests pass. The combined native registry covers 75 cases and 1,524 assertions; all 73 pre-existing case verdicts and failure sets are unchanged, and both new click-occlusion controls behave as expected. Six baseline failures remain: fill_ghost, click_orbit, mode_preview, component_field_key (layout findings), text_input_command_capture, and test_recipe_reapply. These are disclosed with exact results in #4918; this is not an all-green editor suite. Per-case comparison. The overlap gate is
overlapwith clean trial merges and no blockers. This PR is ready for review in stack order; no merge or fleet approval is claimed.Overlap gate
fleet-pr-overlap --self-pr 4903: VERDICT: overlap (exit 1). All shared-path trial merges are clean; no blocking or base-conflict rows.Upstream rows: #4893 (3 paths), #4895 (6 paths), #4896 (5 paths).
#4908, #4918: identical clean grades on 22 shared paths
The gate reports the following rows for #4908; the same paths are graded
cleanfor #4918.