Skip to content

[ENHANCEMENT] Scroll active (HEAD-pointed) local branch into view (when LOCAL BRANCHES list is tall) #1022

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

Open
goran-w opened this issue Feb 25, 2025 · 0 comments
Assignees
Labels
suggestion We are still considering whether it is necessary to add this feature

Comments

@goran-w
Copy link
Contributor

goran-w commented Feb 25, 2025

NOTE: This is a low-prio suggestion, but would still be nice to have.

Problem: The LOCAL BRANCHES list is expanded by default, and if there are a lot of local branches the active (HEAD-pointed, green checkmark, if any) branch could be scrolled out of view - which can be a bit disorienting. (NOTE: When re-activating a repo-tab, the LOCAL BRANCHES list is scrolled-to-top and its selection is cleared.)

Solution: Make the active branch be automatically scrolled-into-view in the LOCAL BRANCHES list, whenever a repo-tab becomes (re-)activated (switched-to). (NOTE: No selection needs to be changed, I just want to be able to see the green checkmark in the list.)

Motivation: A similar feature is already implemented for the graph/log area, where the currently selected commit is automatically scrolled-into-view. (Also, this feature is not affected by my suggestion, which does not change any selection.)

@love-linger love-linger self-assigned this Mar 12, 2025
@love-linger love-linger added the suggestion We are still considering whether it is necessary to add this feature label Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion We are still considering whether it is necessary to add this feature
Projects
None yet
Development

No branches or pull requests

2 participants