Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(platform) Fix stuck tutorial bug on add block step (#8213)

Michael Sheinman3ac0e2d1d383
diff --git a/autogpt_platform/frontend/src/components/tutorial.ts b/autogpt_platform/frontend/src/components/tutorial.ts
index 3282d06bf3..24a4e66004 100644
--- a/autogpt_platform/frontend/src/components/tutorial.ts
+++ b/autogpt_platform/frontend/src/components/tutorial.ts
@@ -182,7 +182,7 @@ export const startTutorial = (
tour.addStep({
id: "scroll-block-menu",
title: "Scroll Down or Search",
- text: 'Scroll down or search in the blocks menu for the "Calculator Block" and press the "+" to add the block.',
+ text: 'Scroll down or search in the blocks menu for the "Calculator Block" and press the block to add it.',
attachTo: {
element: '[data-id="blocks-control-popover-content"]',
on: "right",
@@ -191,12 +191,11 @@ export const startTutorial = (
beforeShowPromise: () =>
waitForElement('[data-id="blocks-control-popover-content"]').then(() => {
disableOtherBlocks(
- '[data-id="add-block-button-b1ab9b19-67a6-406d-abf5-2dba76d00c79"]',
+ '[data-id="block-card-b1ab9b19-67a6-406d-abf5-2dba76d00c79"]',
);
}),
advanceOn: {
- selector:
- '[data-id="add-block-button-b1ab9b19-67a6-406d-abf5-2dba76d00c79"]',
+ selector: '[data-id="block-card-b1ab9b19-67a6-406d-abf5-2dba76d00c79"]',
event: "click",
},
when: {