Skip to content

File-by-file merge request diff navigation POC

What does this MR do?

This is a frontend only proof of concept to show diffs one file at a time instead of all shown at once. This functionality is hidden behind two feature flags.

  • file_by_file_default shows all diffs one file at a time.
  • file_by_file_option enables a flag under "Show whitespace changes" to toggle file by file off and on.

Current multi-file display

Areas to be changed highlighted in red and listed below:

  • Remove file list toggle
  • Highlight selected file
  • Add toggle file by file checkbox
  • Only show selected file

image

Proposed file by file display

image

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Closes #62536 (closed)

Edited by Justin Boyson

Merge request reports