Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support branch visualization similar to git log --graph #1109

Closed
joelostblom opened this issue Apr 16, 2022 · 2 comments · Fixed by #1156
Closed

Support branch visualization similar to git log --graph #1109

joelostblom opened this issue Apr 16, 2022 · 2 comments · Fixed by #1156

Comments

@joelostblom
Copy link

Is your feature request related to a problem? Please describe.

When working with multiple branching, it can be quite helpful to visualize when they branched of from the trunk of the repo and also when they are merged back in. Particularly for teaching purposes it is valuable to visualize these relationships. From the command line it is possible to run git log --oneline --all --graph and display this information:

image

Many IDEs include something similar, for example VSCode which is where the next screenshot is from

image

Describe the solution you'd like

I saw that this was included in the mock suggestions for improving the the history panel in #245, but it seems like it wasn't implemented in the PR that closed that issue (#270) (or I am missing where it is).

I like the mock pictures included there for how this could look in jupyterlab-git:

image

Describe alternatives you've considered

I currently use either command line or VScode for this purpose instead as a workaround solution. Not sure what an alternative in jupyterlab git would look like

Additional context

  • Python package version:
jupyterlab                3.3.4             
jupyterlab-git            0.36.0  
  • Extension version:
JupyterLab v3.3.4
/home/joel/.local/share/jupyter/labextensions
        @jupyter-widgets/jupyterlab-manager v3.0.1 enabled OK (python, jupyterlab_widgets)

/home/joel/miniconda3/envs/jlgit/share/jupyter/labextensions
        jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
        nbdime-jupyterlab v2.1.1 enabled OK
        @jupyterlab/git v0.36.0 enabled OK (python, jupyterlab-git)

Other labextensions (built into JupyterLab)
   app dir: /home/joel/miniconda3/envs/jlgit/share/jupyter/lab
  • Git version:
git version 2.32.0
  • Operating System and its version:
Pop!OS 21.10
5.16.15-76051615-generic
@welcome
Copy link

welcome bot commented Apr 16, 2022

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@fcollonval
Copy link
Member

Thanks @joelostblom that visualization was indeed not implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants