Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Pull Request view automatically refreshes when the local repository is changed #2290

Open
@SimonGustavsson

Description

@SimonGustavsson

Versions

  • GitHub Extension for Visual Studio version: 2.8.1.7307
  • Visual Studio version: 15.9.4

What happened

Commits to the local repository refreshes the view of a Pull Request. This is especially annoying when viewing very large pull requests and working on rectifying comments as the expand/collapse state and position in the "Changed files"-tree is lost after the automatic refresh of the PR.

Steps to Reproduce

  1. Open up the details of an existing pull request (say, feature1 --> master).
  2. Checkout another branch locally, say feature2.
  3. Commit any change to the feature2 branch locally.

Expected behavior

Local repository changes should not affect the pull request details view.

Additional context

In my case, I was looking through a pr from feature1 into master. And rectifying issues highlighted in the PR in a branch based off of feature1. I don't believe there's any need to refresh this view quite so eagerly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions