Skip to content

WIP: Resolves "Allow expanding context lines on MR Discussion tab"

What does this MR do?

  • Part A: expand diff above nested discussion
  • Part B: display some context lines below nested discussion and expand diff below (hopefully)

Are there points in the code the reviewer needs to double check?

Handling of plain via data-* and UploadForm.

cc @DouweM @smcgivern

Why was this MR needed?

Assymetric functionality between Discussion and Changes tabs.

Screenshots (if relevant)

Before: before

After (ellipsis): after_collapsed

After (expanded): after_expanded

After (middle): after_middle

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #24138 (moved)

Merge request reports