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

Auto-expand tree view on Swap Comparison #691

Psithief opened this Issue Mar 26, 2019 · 0 comments


None yet
2 participants
Copy link

commented Mar 26, 2019

  • GitLens Version: 9.5.1
  • VSCode Version: 1.32.3
  • OS Version: 6.1.7601

Steps to Reproduce:

  1. Expand the Compare panel.
  2. Select two branches.
  3. Click the Swap Comparison button.

Actual behaviour:

  1. The comparison tree view is refreshed but collapsed, requiring another click.

Expected behaviour:

  1. The comparison tree view is refreshed and expanded.

Bonus functionality:

  1. The comparison tree view remembers whether the # commits and # files changed branches were expanded or not before the Swap Comparison button was clicked, and re-applies those same expanded/collapsed settings to the refreshed view.

@eamodio eamodio self-assigned this Apr 1, 2019

@eamodio eamodio added this to the Soon™ milestone Apr 1, 2019

@eamodio eamodio closed this in 10dfbc6 Apr 8, 2019

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