Make Text-to-CAD Edit the default workflow in the toolbar (#7092)
We want users to make edits first and foremost within projects, so we're going to surface it as the default workflow button in the toolbar. WIP until I verify that tests are okay with this.
This commit is contained in:
@ -427,6 +427,21 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
|
|||||||
{
|
{
|
||||||
id: 'ai',
|
id: 'ai',
|
||||||
array: [
|
array: [
|
||||||
|
{
|
||||||
|
id: 'prompt-to-edit',
|
||||||
|
onClick: () =>
|
||||||
|
commandBarActor.send({
|
||||||
|
type: 'Find and select command',
|
||||||
|
data: { name: 'Prompt-to-edit', groupId: 'modeling' },
|
||||||
|
}),
|
||||||
|
icon: 'sparkles',
|
||||||
|
iconColor: '#29FFA4',
|
||||||
|
alwaysDark: true,
|
||||||
|
status: IS_ML_EXPERIMENTAL ? 'experimental' : 'available',
|
||||||
|
title: 'Modify with Zoo Text-to-CAD',
|
||||||
|
description: 'Edit geometry with AI / ML.',
|
||||||
|
links: [],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: 'text-to-cad',
|
id: 'text-to-cad',
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
@ -457,21 +472,6 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id: 'prompt-to-edit',
|
|
||||||
onClick: () =>
|
|
||||||
commandBarActor.send({
|
|
||||||
type: 'Find and select command',
|
|
||||||
data: { name: 'Prompt-to-edit', groupId: 'modeling' },
|
|
||||||
}),
|
|
||||||
icon: 'sparkles',
|
|
||||||
iconColor: '#29FFA4',
|
|
||||||
alwaysDark: true,
|
|
||||||
status: IS_ML_EXPERIMENTAL ? 'experimental' : 'available',
|
|
||||||
title: 'Modify with Zoo Text-to-CAD',
|
|
||||||
description: 'Edit geometry with AI / ML.',
|
|
||||||
links: [],
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user