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

Show Whitespace changes on Pull Request Settings does the opposite

    XMLWordPrintable

Details

    Description

      Issue Summary

      In New Pull Request experience, you have the option to select "Show Whitespace Changes" under the Viewing Preferences when viewing a pull request. However, this setting does the opposite of what it says. Selecting "Show Whitespace changes" actually hides the whitespace changes, whereas unselecting it will show the whitespace changes.

      Screen Recording: https://share.getcloudapp.com/6quPlp57

      Steps to Reproduce

      1. Make a change to a file with whitespace changes
      2. Create a pull request for that change
      3. Observe the pull request in New Pull Request Experience
      4. Observe whitespace changes in file
      5. Go to Viewing Preferences -> Select Show Whitespace changes
      6. Observe that whitespace changes in the file are ignored.

      Expected Results

      Selecting Show Whitespace changes should show any whitespace changes in the file. Leaving it unselected should not show whitespace changes in the file.

      Actual Results

      Selecting Show Whitespace changes hides any whitespace changes in the file. Leaving it unselected does show whitespace changes in the file. Screen Recording: https://share.getcloudapp.com/6quPlp57

      Workaround

      Use the option in the opposite way. i.e. if you don't want to see whitespace changes, then select the "show whitespace changes" option under viewing preferences. If you do want to see the whitespace changes, then don't select the "show whitespace changes" option.

      Attachments

        Activity

          People

            Unassigned Unassigned
            skafel Samir
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: