Skip to content

Maintain currently focused row when graph refreshes #4544

@justinrobots

Description

@justinrobots

Description

Problem

When the graph refreshes, it automatically selects the head commit of your current branch. This can be disruptive when you have working directory changes in progress and have the WIP row in the graph selected to monitor changes and have access to commit composer. Because the graph also scrolls to the focused row, this requires scrolling back to the top of the graph to re-select the WIP row.

Slack Discussion

Example of graph refresh stealing focus from WIP:
https://github.com/user-attachments/assets/d09807e4-bbd5-4579-bdf5-29ade3ee4636

Proposed Solution

When the graph refreshes, maintain the currently selected row and scroll position.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNeeds to be looked at

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions