You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hunk navigation centers first line instead of entire hunk #82
When navigating between hunks with [ / ], the viewport centers on the first changed line of the target hunk. This wastes the top half of the screen on context that's already been read, and small hunks end up with the changed lines clustered at the center with no visibility of what follows.
Expected behavior: The entire hunk should be centered in the viewport. For small hunks, this means the midpoint of the hunk lands at the viewport center. For large hunks that exceed the viewport height, the first line should be placed near the top with a small context margin.
Activity
fix(ui): center entire hunk in viewport during hunk navigation
fix(ui): center entire hunk in viewport during hunk navigation