remove flakey has no pending logic, let them do whatever they want (#3457)
* remove flakey has no pending logic Signed-off-by: Jess Frazelle <github@jessfraz.com> * add test for many at once w dismiss bug Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * toastid Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixup more tests Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
@ -287,7 +287,6 @@ export const modelingMachineDefaultContext = {
|
||||
streamDimensions: { streamWidth: 1280, streamHeight: 720 },
|
||||
openPanes: getPersistedContext().openPanes || ['code'],
|
||||
} as Store,
|
||||
pendingTextToCad: undefined as string | undefined,
|
||||
}
|
||||
|
||||
export const modelingMachine = createMachine(
|
||||
@ -354,12 +353,7 @@ export const modelingMachine = createMachine(
|
||||
'Text-to-CAD': {
|
||||
target: 'idle',
|
||||
internal: true,
|
||||
actions: [
|
||||
'Add pending text-to-cad prompt',
|
||||
'Submit to Text-to-CAD API',
|
||||
'Remove pending text-to-cad prompt',
|
||||
],
|
||||
cond: 'Has no pending text-to-cad submissions',
|
||||
actions: ['Submit to Text-to-CAD API'],
|
||||
},
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user