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

Supress Diff for certain files (Improve Pull Request Performance)

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Github will suppress the diff of certain files (Gemfile.lock, binary files over a certain size), which helps with performance for code reviewers when viewing pull requests or commit diffs.

      I suggest Bitbucket adds the ability for projects to configure a blacklist of files they wish to not automatically load the diff of in the webview. Like Github's treatment of Gemfile.lock, you could add a link to show the diff, which would load the content via AJAX. I think it's important for performance that these supressed diffs are lazy loaded rather than hidden in CSS.

      See screenshot for simple concept.

      And for configuration, we could just have a textfield that accepts file patterns similar to .gitignore

      Attachments

        Activity

          People

            Unassigned Unassigned
            b2c61dc43c4b aproctor
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: