Automatically select correct git reference based on referrer route
When the "New workspace" form is triggered from any page within a project (e.g. /tree/v1.0.0), it now automatically uses the currently selected git reference on the page they are on. That's making it consistent with how the Web IDE or Single File Editor works.
Screenshots or screen recordings
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Ensure it works with branches
- Ensure it works with tags