Draft: Add Toggle all files functionality
What does this MR do and why?
This MR adds Toggle all files functionality when toggling a single file with Alt
key pressed.
Context: Collapsing file in diffs tab causes unexpected ... (#360204 - closed) (internal).
Resolves Collapse / Expand all diffs (#361278 - closed).
Screenshots or screen recordings
Screen_Recording_2023-11-24_at_16.05.10
Toggle file title
Screen_Recording_2023-11-28_at_13.22.39
How to set up and validate locally
- Open any MR which contains at least 2 files changed
- Click on Toggle file button with
Alt
key pressed - All files should be collapsed
- Repeat step 2
- All files should be expanded
Edited by Stanislav Lashmanov