feat(web): Outliner deletes objects from the keymap and the Data menu
The desktop Outliner binds outliner.delete to X and Del and also carries it in the context/Data menu; the web data menu only offered rename and Remap Users. Both entries now run the existing deleteObject edit for the object row under the cursor or keyboard focus, so the deletion travels through the same native Main transaction as the viewport delete. The headed case [outliner-delete-web] deletes one object with X and one through the Data menu entry, checking the native row set shrinks and the labels disappear; receipt OUTLINER-HEADED-20261130-082221 (NOT_CLAIMED, 9/9). Collection rows still lack Delete Hierarchy, which stays queued. The armature panel regression keeps failing identically at HEAD and is tracked as pre-existing. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,7 @@ import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
const REPO_ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../..");
|
||||
const EXPECTED_CASES = ["outliner-tree-baseline-web", "outliner-tools-baseline-web", "outliner-mirror-baseline-web", "outliner-metrics-web", "outliner-display-mode-web", "outliner-filter-web", "outliner-restrict-web", "outliner-select-keys-web"];
|
||||
const EXPECTED_CASES = ["outliner-tree-baseline-web", "outliner-tools-baseline-web", "outliner-mirror-baseline-web", "outliner-metrics-web", "outliner-display-mode-web", "outliner-filter-web", "outliner-restrict-web", "outliner-select-keys-web", "outliner-delete-web"];
|
||||
/* Desktop Layout geometry the metrics case must reproduce (batch 2: UI sizes). */
|
||||
const GEOMETRY_GOLDEN = path.join(REPO_ROOT, "tests/golden/OUTLINER-DESKTOP-METRICS/outliner-metrics.json");
|
||||
const errors = [];
|
||||
|
||||
@@ -39,6 +39,7 @@ const KNOWN_CASES = [
|
||||
{ id: "outliner-filter-web", title: /\[outliner-filter-web\]/ },
|
||||
{ id: "outliner-restrict-web", title: /\[outliner-restrict-web\]/ },
|
||||
{ id: "outliner-select-keys-web", title: /\[outliner-select-keys-web\]/ },
|
||||
{ id: "outliner-delete-web", title: /\[outliner-delete-web\]/ },
|
||||
];
|
||||
|
||||
function usage() {
|
||||
|
||||
Reference in New Issue
Block a user