Refactor MR FE components to rely on DiffViewer instead of DiffFile
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?
-
Changelog entry added, if necessary -
Documentation created/updated via this MR -
Tests added for this feature/bug -
Tested in all supported browsers -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides -
Link to e2e tests MR added if this MR has Requires e2e tests label. See the Test Planning Process. -
Security reports checked/validated by reviewer
Closes #55932 (closed)
Edited by Natalia Tepluhina