Skip to content

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

Open
@goran-w

Description

@goran-w

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.)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions