gitui icon indicating copy to clipboard operation
gitui copied to clipboard

URI-like navigation for branches

Open victormihalache opened this issue 3 years ago • 5 comments

Is your feature request related to a problem? Please describe. I like for my branches to be descriptive and separate based on what they are for, so i have some branches that begin with feat/, some others with bugfix/, or release/. Furthermore, I also sometimes do stuff like feat/feature-name/author1 and feat/feature-name/author2; this allows multiple devs to work on the same "little main branch" named feat/feature-name

Describe the solution you'd like It would be nice for there to be a "file explorer"-like view when viewing branches (sort of like ranger) that allows you to better sort by category. See last section for screenshots of a mockup.

It basically treats branch names as if they were similar to URIs. Another thing could be to show, instead of just the latest, more commits, or even commits not present in your current branch.

Describe alternatives you've considered Another thing that could do, is to have a way to specify a prefix and discard the rest for an easier view.

Additional context Initial view: initial

Navigating through (see how other items appear): nav

Arriving at a finish point (aka no more /): final-nav

victormihalache avatar Jan 27 '22 16:01 victormihalache

I had something like that in mind with https://github.com/extrawurst/gitui/issues/633 and it could easily also parse / as a sub structure

combined with #990

extrawurst avatar Jan 27 '22 16:01 extrawurst

So is there any chance this will be built any time soon?

victormihalache avatar Jan 27 '22 21:01 victormihalache

If it get picked up by someone. Fancy contributing ?

extrawurst avatar Jan 27 '22 22:01 extrawurst

Still in the process of learning rust, might look around to see if it's anywhere near something i can do.

victormihalache avatar Jan 28 '22 07:01 victormihalache

This issue has been automatically marked as stale because it has not had any activity half a year. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 30 '22 18:07 stale[bot]