diff --git a/e2e/playwright/point-click.spec.ts b/e2e/playwright/point-click.spec.ts index 9f7c2381b..2a15c3c43 100644 --- a/e2e/playwright/point-click.spec.ts +++ b/e2e/playwright/point-click.spec.ts @@ -829,12 +829,6 @@ loftPointAndClickCases.forEach(({ shouldPreselect }) => { }) await selectSketches() await cmdBar.progressCmdBar() - await cmdBar.expectState({ - stage: 'review', - headerArguments: { Selection: '2 faces' }, - commandName: 'Loft', - }) - await cmdBar.progressCmdBar() }) } else { await test.step(`Preselect the two sketches`, async () => { @@ -844,12 +838,6 @@ loftPointAndClickCases.forEach(({ shouldPreselect }) => { await test.step(`Go through the command bar flow with preselected sketches`, async () => { await toolbar.loftButton.click() await cmdBar.progressCmdBar() - await cmdBar.expectState({ - stage: 'review', - headerArguments: { Selection: '2 faces' }, - commandName: 'Loft', - }) - await cmdBar.progressCmdBar() }) } diff --git a/src/lib/commandBarConfigs/modelingCommandConfig.ts b/src/lib/commandBarConfigs/modelingCommandConfig.ts index 51c8dd0c6..ffbbda3b9 100644 --- a/src/lib/commandBarConfigs/modelingCommandConfig.ts +++ b/src/lib/commandBarConfigs/modelingCommandConfig.ts @@ -329,7 +329,7 @@ export const modelingMachineCommandConfig: StateMachineCommandSetConfig< Loft: { description: 'Create a 3D body by blending between two or more sketches', icon: 'loft', - needsReview: true, + needsReview: false, args: { selection: { inputType: 'selection', diff --git a/src/lib/commandTypes.ts b/src/lib/commandTypes.ts index 09e22e3dd..ce99e42d2 100644 --- a/src/lib/commandTypes.ts +++ b/src/lib/commandTypes.ts @@ -96,7 +96,7 @@ export type CommandConfig< Command, 'name' | 'groupId' | 'onSubmit' | 'onCancel' | 'args' | 'needsReview' > & { - needsReview?: true + needsReview?: boolean status?: 'active' | 'development' | 'inactive' args?: { [ArgName in keyof CommandSchema]: CommandArgumentConfig<