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

show solution doesn't work with custom level #1134

Closed webformation closed 3 months ago

webformation commented 3 months ago

With a custom level used from gist, show solution doesn't work with an exception

Uncaught Error: that level doesn't exist! isLevelSolved https://learngitbranching.js.org/build/bundle-84f1f278.js:203 showSolution https://learngitbranching.js.org/build/bundle-84f1f278.js:203 processLevelCommand https://learngitbranching.js.org/build/bundle-84f1f278.js:203 trigger https://learngitbranching.js.org/build/bundle-84f1f278.js:203 processCommand https://learngitbranching.js.org/build/bundle-84f1f278.js:203 popAndProcess https://learngitbranching.js.org/build/bundle-84f1f278.js:203 sipFromBuffer https://learngitbranching.js.org/build/bundle-84f1f278.js:203 timeout https://learngitbranching.js.org/build/bundle-84f1f278.js:203

pcottle commented 3 months ago

Ah yeah that might not have been a handled case. Can you provide an example level gist where this was an issue?

webformation commented 3 months ago

The gist of the documentation : https://learngitbranching.js.org/?gist_level_id=a84407351f9c9f0cb241 has the problem.

And any gist I try too

pcottle commented 3 months ago

Fixed!