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

[Feature Request] Don't open all folder in the branches view #32

Closed
alvinmeimoun opened this issue Nov 9, 2018 · 9 comments

Comments

@alvinmeimoun
Copy link

commented Nov 9, 2018

Hi

I currently manage a project that contains a lot of branches dispatched in folder (using / in name)

Example of my branches :
generic/dev/master
generic/dev/feature/feat1
generic/release/1.0.1
generic/backup/2018_08_01
specific/dev/master
...

And when i open the origin tree, all my folders are opened and i take a lot of time to find my branch.
It will be great to allow to the user to configure Fork to not open these folders automatically

@zrpfpr

This comment has been minimized.

Copy link

commented Feb 28, 2019

+1

In a big repo, with a lot of remote branches and folders, it is quite annoying. Please, do not ignore this feature

@DanPristupov

This comment has been minimized.

Copy link
Contributor

commented Feb 28, 2019

Will Expand All/Collapse All options make your experience better?

@zrpfpr

This comment has been minimized.

Copy link

commented Feb 28, 2019

Yes! Starting with all collapsed and then, open one by one (or expand all if you want, of course). Thanks!

@DanPristupov

This comment has been minimized.

Copy link
Contributor

commented Feb 28, 2019

I mean the Expand/Collapse items in sidebar context menu.

@alvinmeimoun

This comment has been minimized.

Copy link
Author

commented Feb 28, 2019

Hi,
I'm agree that the "expand/collapse all" button could be a great feature.

My base idea was to let the user choose this in settings, if at startup all are expanded or all are collapsed.

Now i just have this following idea, how about saving the state ? Keeping the button to collapse/expand all but is it complicated to implement the save of expanded and collapsed branches ? And i think this idea can be a separated feature request and keep the focus in priority to collapse/expand all feature

@DanPristupov

This comment has been minimized.

Copy link
Contributor

commented Mar 1, 2019

I'm very busy right now to answer in details. So, very briefly:
We don't ignore sidebar and already working on its improvements. In Fork 1.28 the Repository Manager sidebar remembers open items even when you restart the application (we just test the features there).

Regarding sidebar in repository view:

  • Repository sidebar will remember expanded items for each repo and restore them after restart
  • No subitems will be open automatically
  • On first run the Local branches section will be fully opened, the rest is closed
  • Ability to sort items alphabetically or by recently used

ETA: 1.30-1.31

@BigRedPK

This comment has been minimized.

Copy link

commented Mar 1, 2019

Just to add my own vote. I work for an organization that has roughly 500 people working on one of our product repositories. At any given time, we can have anywhere from 100-400 branches that are in active development on a single one of our repositories. Many of our teams and individual contributors have adopted to putting their branches into a folder to make organizing and finding their branch a little cleaner and easier.

At the time of this writing, there are 298 branches on a particular repo I am workin in with 28 parent level folders housing a majority of the branches.

As a convert from Sourcetree (for a variety of reasons), they had the collapsed by default behavior and also persisted the users's expanded items. It was incredibly buggy though and would often reset back to fully collapsed. Since it collapsed everything by default, it was a manageable annoyance.

"Collapse/Expand All" or "Collapse by Default" is not really just a nice to have for my organization, it's a necessity due to the structure of our repository.

@DanPristupov DanPristupov added this to the 1.30 milestone Mar 1, 2019

@DanPristupov

This comment has been minimized.

Copy link
Contributor

commented Mar 2, 2019

Just as reminder to myself: we also need ability to filter the list of branches on the sidebar

@DanPristupov DanPristupov modified the milestones: 1.30, 1.31 Mar 22, 2019

@DanPristupov

This comment has been minimized.

Copy link
Contributor

commented Apr 5, 2019

  • Repository sidebar will remember expanded items for each repo and restore them after restart
  • No subitems will be open automatically
  • On first run the Local branches section will be fully opened, the rest is closed
  • Ability to sort items alphabetically or by recently used

I just published 1.31 with those features :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.