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

gui to visualise the stacks #368

Open
gedw99 opened this issue Aug 29, 2024 · 3 comments
Open

gui to visualise the stacks #368

gedw99 opened this issue Aug 29, 2024 · 3 comments

Comments

@gedw99
Copy link

gedw99 commented Aug 29, 2024

Hey @abhinav

I am quite interested in this concept to make it easier for my Users that are scientists that use git for their documentation.

They have a git LFS, which holds all markdown and images.

Is there a GUI to visualise the branches and their stacks ? I only saw the CLI.

To built a GUI, we would probably need some sort of API to the code, but its not really structured that way.

@abhinav
Copy link
Owner

abhinav commented Aug 30, 2024

Hey @gedw99, thanks for the issue. Sorry, there's no GUI. The gs log short (or gs ls) and gs log long (or gs ll) do provide a visualization of the branch structure, but they're command-line based.
Existing Git GUIs that show branches next to commits would work to some degree.

I would be open to adding, say, a --json flag to the log commands that would present the structure of the stack(s) in a format that could be fed into another tool, and other such flags for other commands to automate/script from a GUI tool. If necessary, I would also be open to exposing a public API for inspecting stacks directly from code. With that said, I don't have any plans to build a GUI myself at this time.

@gedw99
Copy link
Author

gedw99 commented Aug 30, 2024

Hey 👋

yeah an output flag with json as a parameter would do the job .

The gui in the docs looks like a mermaid diagram to me . I did not check though .

I would love to know what gui you think works best ? A mermaid style tree is pretty easy for cognitive information overload . Those fancy git flow curved gui can be intense .

the idea is for them to be able to control git from just this visual gui . Not a form gui . So maybe a mermaid diagram is enough . Easy to built too . But a mermaid is read only . So might need to add htmx to it to make it interactive .

Just brain storming :)

@gedw99
Copy link
Author

gedw99 commented Aug 30, 2024

https://stackoverflow.com/questions/1838873/visualizing-branch-topology-in-git Has a few other brain storming ideas for this .

where do you mean. You built this system and you know is potential so I follow your lead .

Will be a or bs k to this repo I you want of course .

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

No branches or pull requests

2 participants