NirmalScaria / le-git-graph

Browser extension to add git graph to GitHub website.

Home Page:https://chrome.google.com/webstore/detail/le-git-graph-commits-grap/joggkdfebigddmaagckekihhfncdobff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Commits tab removed when using browser's back button

russellbanks opened this issue · comments

Going into another tab on GitHub and returning (by using the Browser's back button) removes the commits tab. In some cases, the Commits tab does not get removed, but rather the button will not work anymore until the page is refreshed. This was tested on Firefox.

firefox_d29erXJv1o

I can confirm this on Chrome. I figured it was just the website cache doing goofy things (since a hard reload fixes it).

It also appears to happen when navigating around GitHub. For instance, if you view GitHub's commit history (not the extension's) and then click the "Older" button to view older commits then the extension's commit tab disappears on Chrome (Edit: This is inconsistent, sometimes it works as normal). Refreshing the page or traveling to the page directly (via url or link) appears to work around this issue.

Honestly I have zero idea why this happens. And I guess this has more to do with the original GitHub page code rather than the extension code. And considering how simply refreshing the page will fix the issue temporarily, I'm thinking about postponing this issue, unless someone would like to step in. Not exactly "wont-fix". Not "under-progress" either.
@BitBlitObviMormon @russellbanks