Click on "File Changed" resets pull request view to the top

Issue #521 open
ComeEasy created an issue

How to reproduce:

  • Open a PR in VSCode, preferably one with a long description, and/or many commits
  • Scroll down to “Files Changed”
  • Click on a file name to open the diff view in a new tab
  • Go back to the PR view in order to open another file diff
  • View has been reset to the top, so you need to scroll down again

Expected:

  • PR view scroll position is not changed, so that opening many file differences is made easy

Rationale:

In PR with many files, many commits and long description, it is very annoying to scroll down each time you want to open another file diff.

This is conversely the situation where atlascode shines best. The Web UI from Bitbucket may be sufficient for small PRs and small changes, but when it comes to bigger PRs, atlascode is the go-to option that you cannot do without anymore. This small annoyance thus gets often in the way.

Versions:

# Operating System
Fedora 32

# VSCode
Version: 1.51.1
Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f
Date: 2020-11-10T23:31:29.624Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Linux x64 5.9.8-100.fc32.x86_64

# atlascode
atlassian.atlascode v2.8.5

Note: I would have liked to include a screencast, but all the PRs I could find contain names and info that cannot be disclosed… If necessary, I will try to create a fake example PR.

Comments (4)

  1. Gregory Star Account Deactivated

    Thanks for pointing this out! I figured out the cause of the problem so you should see this fixed in the next release.

  2. Log in to comment