Multi-profile sweeps and more robust edit flows in point-and-click (#6437)

This commit is contained in:
Pierre Jacquier
2025-05-06 17:57:27 -04:00
committed by GitHub
parent 8fb1563f2d
commit 996517f5c4
15 changed files with 1353 additions and 928 deletions

View File

@ -229,7 +229,7 @@ test.describe('Feature Tree pane', () => {
const initialCode = `sketch001 = startSketchOn(XZ)
|> circle(center = [0, 0], radius = 5)
renamedExtrude = extrude(sketch001, length = ${initialInput})`
const newConstantName = 'distance001'
const newConstantName = 'length001'
const expectedCode = `${newConstantName} = 23
sketch001 = startSketchOn(XZ)
|> circle(center = [0, 0], radius = 5)
@ -270,12 +270,12 @@ test.describe('Feature Tree pane', () => {
await cmdBar.expectState({
commandName: 'Extrude',
stage: 'arguments',
currentArgKey: 'distance',
currentArgKey: 'length',
currentArgValue: initialInput,
headerArguments: {
Distance: initialInput,
Length: initialInput,
},
highlightedHeaderArg: 'distance',
highlightedHeaderArg: 'length',
})
})
@ -290,7 +290,7 @@ test.describe('Feature Tree pane', () => {
stage: 'review',
headerArguments: {
// The calculated value is shown in the argument summary
Distance: initialInput,
Length: initialInput,
},
commandName: 'Extrude',
})