Files
OneCAD/crates/ui-egui/tests/scenarios/s37_browser_chevrons.json
T
bherbruckandClaude Opus 5.5 d10312b7fd Command ids are SolveCraft's own: 173 ids that were another product's internal command ids become dotted, lower-case ids (<area>.<thing>[.<variant>]: solid.extrude, sketch.rectangle.two_point, sheet.flange, joint.drive, ...), in the registry, toolbar, dialogs, shortcuts, palette, control channel, MCP, examples, scenarios and docs
The old ids live only in crates/engine/src/legacy_ids.rs (the legacy migration table): find_command maps them, so old scripts, recipes and control calls keep working, and saved shortcuts, recent and pinned commands are migrated on load (designs store no command ids). Parity maps the observed catalog ids to ours through xtask/data/fusion-ids.tsv. The agent rule now reads: our own dotted id, never another product's. Cargo.toml's repository points at github.com/bherbruck/solvecraft.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 12:17:23 +00:00

527 lines
5.6 KiB
JSON

[
{
"pending": "every chevron works; the browser has no Joints folder (solvecraft-shell)"
},
{
"note": "Browser chevrons expand and collapse every kind of node (folders, components, groups, the origin, named views, document settings). Model: two components with a body each, a joint, a sketch, an offset plane, a named view."
},
{
"start": "component.create"
},
{
"key": "Enter"
},
{
"start": "sketch.create"
},
{
"click": {
"plane": "XY"
}
},
{
"start": "sketch.rectangle.two_point"
},
{
"click": {
"sketch": [
0,
0
]
}
},
{
"click": {
"sketch": [
20,
20
]
}
},
{
"key": "Escape"
},
{
"start": "sketch.finish"
},
{
"call": "ui.view",
"params": {
"view": "iso"
}
},
{
"start": "solid.extrude"
},
{
"text": "10"
},
{
"key": "Enter"
},
{
"call": "ui.menu",
"params": {
"x": 100,
"y": 170,
"target": {
"type": "component",
"id": 0
}
}
},
{
"call": "ui.menuPick",
"params": {
"item": "Activate"
}
},
{
"start": "component.create"
},
{
"key": "Enter"
},
{
"start": "sketch.create"
},
{
"click": {
"plane": "XZ"
}
},
{
"start": "sketch.rectangle.two_point"
},
{
"click": {
"sketch": [
30,
0
]
}
},
{
"click": {
"sketch": [
50,
10
]
}
},
{
"key": "Escape"
},
{
"start": "sketch.finish"
},
{
"call": "ui.view",
"params": {
"view": "iso"
}
},
{
"start": "solid.extrude"
},
{
"click": {
"world": [
40,
0,
5
]
}
},
{
"text": "20"
},
{
"key": "Enter"
},
{
"expect": {
"bodies": 2,
"errors": 0
}
},
{
"start": "joint.create"
},
{
"click": {
"world": [
10,
10,
10
]
}
},
{
"click": {
"world": [
40,
0,
5
]
}
},
{
"widget": "Rigid"
},
{
"widget": "Revolute"
},
{
"widget": "OK"
},
{
"call": "engine.execute",
"params": {
"command": "construct.plane.offset",
"params": {
"base": "XY",
"offset": 30
}
}
},
{
"key": "Escape"
},
{
"call": "ui.menu",
"params": {
"x": 100,
"y": 300,
"target": {
"type": "named_views"
}
}
},
{
"call": "ui.menuPick",
"params": {
"item": "New Named View"
}
},
{
"note": "Each kind of node: its chevron hides its children, and shows them again."
},
{
"click": {
"handle": "fold:Document Settings"
}
},
{
"expect": {
"shown_handles": [
"row:Units: mm"
]
}
},
{
"click": {
"handle": "fold:Document Settings"
}
},
{
"expect": {
"hidden_handles": [
"row:Units: mm"
]
}
},
{
"click": {
"handle": "fold:Document Settings"
}
},
{
"expect": {
"shown_handles": [
"row:Units: mm"
]
}
},
{
"expect": {
"shown_handles": [
"row:Named View1"
]
}
},
{
"click": {
"handle": "fold:Named Views"
}
},
{
"expect": {
"hidden_handles": [
"row:Named View1"
]
}
},
{
"click": {
"handle": "fold:Named Views"
}
},
{
"expect": {
"shown_handles": [
"row:Named View1"
]
}
},
{
"click": {
"handle": "fold:Origin"
}
},
{
"expect": {
"shown_handles": [
"row:XY"
]
}
},
{
"click": {
"handle": "fold:Origin"
}
},
{
"expect": {
"hidden_handles": [
"row:XY"
]
}
},
{
"click": {
"handle": "fold:Origin"
}
},
{
"expect": {
"shown_handles": [
"row:XY"
]
}
},
{
"expect": {
"shown_handles": [
"row:Body2"
]
}
},
{
"click": {
"handle": "fold:Bodies"
}
},
{
"expect": {
"hidden_handles": [
"row:Body2"
]
}
},
{
"click": {
"handle": "fold:Bodies"
}
},
{
"expect": {
"shown_handles": [
"row:Body2"
]
}
},
{
"expect": {
"shown_handles": [
"row:Sketch2"
]
}
},
{
"click": {
"handle": "fold:Sketches"
}
},
{
"expect": {
"hidden_handles": [
"row:Sketch2"
]
}
},
{
"click": {
"handle": "fold:Sketches"
}
},
{
"expect": {
"shown_handles": [
"row:Sketch2"
]
}
},
{
"expect": {
"shown_handles": [
"row:Plane1"
]
}
},
{
"click": {
"handle": "fold:Construction"
}
},
{
"expect": {
"hidden_handles": [
"row:Plane1"
]
}
},
{
"click": {
"handle": "fold:Construction"
}
},
{
"expect": {
"shown_handles": [
"row:Plane1"
]
}
},
{
"expect": {
"shown_handles": [
"row:Sketch2"
]
}
},
{
"click": {
"handle": "fold:Component2:1"
}
},
{
"expect": {
"hidden_handles": [
"row:Sketch2"
]
}
},
{
"click": {
"handle": "fold:Component2:1"
}
},
{
"expect": {
"shown_handles": [
"row:Sketch2"
]
}
},
{
"expect": {
"shown_handles": [
"row:Sketch1"
]
}
},
{
"click": {
"handle": "fold:Component1:1"
}
},
{
"expect": {
"hidden_handles": [
"row:Sketch1"
]
}
},
{
"click": {
"handle": "fold:Component1:1"
}
},
{
"expect": {
"shown_handles": [
"row:Sketch1"
]
}
},
{
"expect": {
"shown_handles": [
"row:Origin"
]
}
},
{
"click": {
"handle": "fold:Untitled"
}
},
{
"expect": {
"hidden_handles": [
"row:Origin"
]
}
},
{
"click": {
"handle": "fold:Untitled"
}
},
{
"expect": {
"shown_handles": [
"row:Origin"
]
}
},
{
"note": "The joints folder lists the joint (Fusion's Joints folder in the root component)."
},
{
"expect": {
"shown_handles": [
"fold:Joints"
]
}
},
{
"click": {
"handle": "fold:Joints"
}
},
{
"click": {
"handle": "fold:Joints"
}
},
{
"expect": {
"shown_handles": [
"fold:Joints"
]
}
}
]