Superalgos icon indicating copy to clipboard operation
Superalgos copied to clipboard

Tutorial popup not showing, if you click stop before switching workspaces

Open Gavinvin opened this issue 4 months ago • 3 comments

Context

Operating System: Windows 11

Software version: today's master branch

Workspace version: default Workspace.json (Getting Started Guide

Reproducible: the issue may be reproduced.

Explain your issue

1. Explain what the problem seems to be.

When started superalgos in the default getting started workspace. If you click stop on the initial tutorial popup, then switch to another tutorials workspace, the tutorial in the new workspace doesn't appear.

2. Clearly explain what you wish to accomplish.

See the new tutorial.

3. Explain, step by step, what you've done to achieve the goal. The Team will follow these steps to reproduce the issue, so be precise.

  1. Run superalgo with node platform.
  2. In the browser once loaded, click stop on the "Welcome" tutorial step.
  3. Switch workspace to Native Workspace > Foundations > Hello-World-Tutorial (it can be any tutorial, not just Hello World)
  4. The tutorial in the new workspace doesn't run.
  5. If you try manually running the new tutorial, or a step in it, it also will not run.

In order to fix this I have found three ways:

  • Refresh, and switch workspaces without clicking stop on the welcome tutorial.
  • Switch back to the getting started workspace so the tutorial runs again, then switch back without clicking stop.
  • Export the Getting Started Tutorial to json, import it into the new workspace, run a single step from it.

4. Explain what is the result you expect from your actions.

The new tutorial will run.

5. Explain what happens instead of the expected results.

The new tutorial doesn't run.

6. Explain what errors you have found on-screen, on the browser console application, or in the Log-Files folder.

Nothing visible in Dev console, or server logs.

Gavinvin avatar Sep 22 '25 01:09 Gavinvin

Node version 18 setup

ismailhkn55 avatar Sep 25 '25 02:09 ismailhkn55

Node version 18 setup

I'm on v22.19.0 of node if that helps.

Gavinvin avatar Sep 25 '25 05:09 Gavinvin

I was just playing around with the dev console, seems like the actual bug is that when you click stop, and then switch workspaces, the display: none on the tutorialDiv element is still in place. Running a tutorial / topic / step in the new workspace doesn't remove the display: none, you have to run a step in the original tutorial in order for it to be removed.

Any other behaviour still happens, for example if it was a step that moved the workspace to a specific node. That still happens.

Gavinvin avatar Sep 25 '25 05:09 Gavinvin