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

Resolves #1139: can use a direct permalink to a specific level #1140

Closed pomeh closed 2 months ago

pomeh commented 2 months ago

This resolves the issue #1139 I just created, about permalink to levels.

I did not add unit tests as I didn't find anywhere query arguments are tested. But I've manually tested my changes through Gitpod (which is simply amazing !).

I also was thinking about a "share level" feature, but:

Feel free to let me know what you think about all this.

netlify[bot] commented 2 months ago

Deploy Preview for xenodochial-hugle-b9ec84 ready!

Name Link
Latest commit d09fc9e3c30801e0824e28c28c15003a87107751
Latest deploy log https://app.netlify.com/sites/xenodochial-hugle-b9ec84/deploys/6628dbd4ce888500089464af
Deploy Preview https://deploy-preview-1140--xenodochial-hugle-b9ec84.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

pcottle commented 2 months ago

Looks great! I also think this will work if you provide both a command and a level param, which is nice :) and the level one will run first too!