ineo6 / git-master

Git Master Extension for git file tree, support GitHub、GitLab 、 Gitee、Gitea、Gogs
MIT License
484 stars 36 forks source link

[Bug] Unable to navigate back after I click any file on extension's sidebar #106

Closed ShiftWatchOut closed 9 months ago

ShiftWatchOut commented 2 years ago

Describe the bug Unable to navigate back to the file where I just browse.

To Reproduce Steps to reproduce the behavior:

  1. Open any Github repository that contains more than one file, and wait until the extension loaded.
  2. Click a file in Git-Master sidebar.
  3. Click a different file in Git-Master sidebar.
  4. Navigate back with any approach you know, including touching ⬅️ button the browser offers, typing history.back() in dev tool console, or slip two finger on touchpad.

Expected behavior I expect to be able to jump back, like this extension behaves on other platform.

Screenshots

image image image image

Context:

ShiftWatchOut commented 2 years ago

老哥,我点击侧边栏上的文件,路由到新的页面,没有办法返回呀

ShiftWatchOut commented 2 years ago

Updating pjax to the newest version should fix this, but after doing so, your extension crashed after navigating back on Github