Skip to content
Snippets Groups Projects
Closed "View file diff" button and code hover actions don't appear consistently in GitHub commit diffs.
  • View options
  • "View file diff" button and code hover actions don't appear consistently in GitHub commit diffs.

  • View options
  • Closed Issue created by Warren Gifford

    Created by: wtodom

    When viewing a commit on GitHub such as this one or this other one, it seems that I often have to scroll to the bottom of the page and back up before most of the Sourcegraph plugin functionality begins working on the page. Additionally, it looks like the failures happen at the file diff level, since the functionality works for some files initially - specifically the ones that are "off-screen" when the page loads. Screenshots demonstrating this:

    Upon page load, before scrolling before-scroll

    After scrolling part of the way down the page mid-scroll

    After scrolling down and then back up to the top after-scroll

    The same "late-loading" effect can be seen for Sourcegraph's code hover popup functionality as well.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first