Add Expand and Collapse all files buttons to merge requests
What does this MR do and why?
Implements Collapse / Expand all diffs (#361278 - closed).
This merge request adds expand and collapse all files buttons to merge requests. These buttons can also be triggered with hotkeys: ;
and shift+;
respectively.
Screenshots or screen recordings
Screen_Recording_2024-09-06_at_06.08.21
How to set up and validate locally
- Open any merge request with changes
- Expand all file and collapse all files buttons should be available next to merge request preferences dropdown
- Click these buttons
- Observe all files either collapse or expand
Edited by Stanislav Lashmanov