-
Notifications
You must be signed in to change notification settings - Fork 378
Closed
Description
Description
Upon clicking the file icon in the Git history panel for a single file, the extension attempts to open a public GitHub URL.
Such behavior is likely not desirable when a repository is not hosted or, if hosted, not hosted on GitHub.
Reproduce
- Open JupyterLab with the Git extension installed.
- Click on the Git extension icon.
- Click on the history tab.
- Scroll down to a past commit.
- Click on the commit.
- Double click the file icon next to a changed file.
Expected behavior
I'm not sure the optimal behavior here. For internal usage, opening a GitHub URL is not applicable. Maybe this could be configured?
Or potentially down the road, one may want to open the file directly within JupyterLab to see the diff for that file in that commit. In fact, maybe this should be the default behavior?
This would, I presume, require diffing of plain text files (see #406).
Context
- Python package version: 0.9.0
- Extension version: 0.9.0