4060: Always show an indication of which file is currently being viewed in the diff viewer


What version are you running?


What's the URL of the page this enhancement relates to, if any?


Describe the enhancement and the motivation for it.

Add some form of UI which shows the current file header in the diff viewer while you scroll - allowing you to quickly check which file you're looking at.

There are many ways this could be accomplished, possibly with position:sticky, etc.

Please provide any additional information below.

First reported as a desired feature of MozReview (Mozilla's customized Review Board instance) here: https://bugzilla.mozilla.org/show_bug.cgi?id=1203969

#1 smacleod
  • +Component:DiffViewer
#2 ssengar
  • +ssengar
#3 ssengar
  • -ssengar