Skip to content

File selector should jump back and highlight unstaged files #2476

@castn

Description

@castn

Describe the bug
When you make a commit from staged changes and actually do the commit so that the commit message popup closes, the file highlighter does not jump back into the unstaged changes section. It only does this when you use the arrow up/down keys.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Status tab
  2. Select unstaged changes and stage them
  3. Create a commit and write a message and finish it. So the popup window with the commit message input closes
  4. Now there is no file selector in the unstaged changes section only after you use the arrow key up/down

Expected behavior
I would expect that after a commit, at least the first item in the unstaged changes list is highlighted. So that you get a visual feedback where you are when you move the arrow keys up and down.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions