[WIP] Added a floating banner to the diff view

Review Request #8714 - Created Feb. 4, 2017 and discarded

Orjan Monsen
Review Board
reviewboard, students

We currently have to scroll all the way to the top if we want to be navigated to a
specific diff file.

I added a floating banner to the diff view that sticks to the top of the page when
the user has scrolled down. I added text to the banner: "Navigate: ", as well as
a dropdown button. This button is a list of all diff file names. The current
state displays the first diff filename on default, and each diff filename
when hovering over the arrow. The default filename is duplicated at the
moment. I also added scrolling functionality when the button gets clicked.
This will take the user's view to the anchor tag of the selected diff file.

Screenshots of the current state of my project:

I have tested the floating banner on the testing server using dummy diff files
created by RB Tools.

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Review Bot
Orjan Monsen
Simon Zhang
Orjan Monsen
Review request changed

Status: Discarded

Change Summary:

multiple review requests for the same changes.