pcottle / learnGitBranching

An interactive git visualization and tutorial. Aspiring students of git can use this app to educate and challenge themselves towards mastery of git!
https://pcottle.github.io/learnGitBranching/
MIT License
30.16k stars 5.72k forks source link

Skip button in the levels #1152

Closed vikram18rock closed 4 weeks ago

vikram18rock commented 1 month ago

Providing the users with a skip button gives more flexibility, they can read the levels, if they already did they can skip the tutorial and jump to the exercise

pcottle commented 1 month ago

Would you expect this skip button to be on the level menu, a command line option, or a button in the dialog?

Because theres already functionality for this today! just start a level and hit the Escape button on your keyboard to exit out early: https://learngitbranching.js.org/?NODEMO&command=level%20intro1

vikram18rock commented 1 month ago

Hey, Thank you for replying. And I'm sorry for the delay

I didn't realize about the esc till today, but here are the options I can think of

And I think skip in the level menu is not required.

And if i can say more, the help buttons that's in bottom right corner, didn't get much of my attention. I don't know why, but I thought I should mention it.

pcottle commented 1 month ago

What about just making the close button in the upper left work?

Screenshot 2024-06-03 at 9 06 00 AM
vikram18rock commented 1 month ago

That would be great. I tried to do that so many times 🤣.

Thank you for being open for suggestions.

pcottle commented 4 weeks ago

Should be done now! 21fbde2c3122e44c9b7fd80bf36dd21085f1f7ff and a3cfd3bb88b4e15a8ef658fad33b7102d305978a

you can click on the red button in the dialog and itll exit out of the level :)