Page MenuHomePhabricator

Show maximal amount of context for the selected change in differential, rather than snapping it at the top of the screen
Open, WishlistPublic

Description

When crawling through a differential review with the shortcuts j/k, the selected change is always snapped at the top of the screen.

screenshot.png (1×1 px, 282 KB)

This doesn't show the optimal amount of context. I have to manually scroll up a bit to get more context. It would be really nice if this were done automatically, i.e. if a maximal amount of context would always be shown. An easy (but sub-optimal) way to do this would be to center the selected change vertically.