Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-23386

Clicking on "Reload Page" option in the popup on a PR does not load new file changes

XMLWordPrintable

      Issue Summary

      When a change is made on the source branch of an open PR that you are a reviewer of, there is a popup indicating new changes.

      Clicking on "reload page" in the popup does a soft refresh which does not refresh the actual file changes. 

      Steps to Reproduce

      1. Get a PR that you are an approver of. Make sure the PR is open
      2. Have the PR open on one screen in the browser
      3. Make a commit on the source branch
      4. Wait for a few seconds for the PR to get the popup
      5. Click on the Reload Page button on the pop-up
      6. It will refresh some components but the actual file diff is not reloaded

      On checking the HAR file, we can notice that when we do a hard refresh, there are a couple of endpoints for diff and diffstat being called to fetch the diff. These endpoints are not called when the reload page button is clicked. 

      Additionally, the issue is only reproducible when the browser window with the PR is inactive. If the browser window is focused at the time of making the commit, the issue is not reproducible

      Expected Results

      The file diff is loaded along with refreshing other components of the PR

      Actual Results

      The diff of the files are not updated in the PR. 

      Workaround

      A hard refresh of the PR page will reload the file diff

              Unassigned Unassigned
              9cc073eb116c Aravind Anil (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: