Skip to content

Comment on file button expands the file

What does this MR do and why?

This MR fixes 'Comment on file' button behaviour so it always expands the target file. Previously it did nothing if the file was collapsed.

Screenshots or screen recordings

Before After
Screen_Recording_2023-11-24_at_15.04.35 Screen_Recording_2023-11-24_at_15.03.52

How to set up and validate locally

  1. Open any MR with changes
  2. Collapse any file
  3. Click 'Comment on file' button
  4. The file should be expanded

Merge request reports