Skip to content

feat: Add support for image diff in Merge Requests

Description

This MR replaces the text-only Git Content Provider with a File System that allows retrieval of any file. This also changes the assumption that all file content retrieved from the GitLab API is text-only.

image-diff

Related Issues

Resolves #421 (closed)

How has this been tested?

  1. Opening any Merge Request under "Issues and Merge Request" in the sidebar, then clicking a file to diff. Both text files and image files should be tested.
  2. Remote repositories are also affected. Open a remote repository, then try opening any file (text or otherwise).

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap
Edited by Tomas Vik

Merge request reports

Loading