trypear / pearai-app

An Open Sourced AI-Powered Text Editor. A fork of VSCode and Continue.
https://trypear.ai
Other
528 stars 86 forks source link

pearai_tutorial.py should open front and center upon users first opening the app (or if they click get started) #131

Closed nang-dev closed 1 week ago

nang-dev commented 3 weeks ago

Related to #130

MaySoMusician commented 1 week ago

@nang-dev @Fryingpannn Trying to give a shot so I'd like you to confirm my understanding.

MaySoMusician commented 1 week ago

image

Currently the extension will open the tutorial file after a user clicks Continue button on the onboarding page.

So is it necessary to open the file in advance? We've got this comment that says not to open it until the onboarding is complete.

https://github.com/trypear/pearai-submodule/blob/fd59dae057439b11f4ac8e178307b681ff3a3c4d/gui/src/pages/onboarding/onboarding.tsx#L148-L150

              // Don't show the tutorial above yet because there's another step to complete at /localOnboarding
              postToIde("showTutorial", undefined);
              navigate("/");