Skip to content

Refactor MR FE components to rely on DiffViewer instead of DiffFile

Natalia Tepluhina requested to merge 55932-diff-viewer-refactor into master

What does this MR do?

This MR adds a new part of logic behind DiffViewer Vue component to utilize DiffViewer instead of Diff::File.

List of replaced properties:

  • collapsed
  • too_large
  • empty
  • text
  • mode_changed

Properties still required on FE side:

For computing LFS badge visibility

  • stored_externally
  • external_storage

For displaying correct tree list and to be used in ImageViewer to calculate image path:

  • new_file
  • renamed_file
  • deleted_file

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Closes #55932 (closed)

Edited by Natalia Tepluhina

Merge request reports