[go: up one dir, main page]

Skip to content

Allow collapsing comments in the pending state code review

Why are we doing this work

Allow viewing the code without pending comments.

When reviewing a merge request, I am leaving comments that are not yet published (show as comments in pending state). I would like to be able to collapse/expand these comments to allow me to view the code without distracting pending comments before submitting the review.

Screenshot 2025-09-19 at 10.49.28.png

Relevant links

Non-functional requirements

  • Documentation:
  • Feature flag:
  • Performance:
  • Testing:

Implementation plan

The exact implementation detail TBA.

I proposed adding a collapse button as per the image below.

images

Screenshot 2025-09-19 at 12.00.37.png

Screenshot 2025-09-19 at 12.00.44.png

Screenshot 2025-09-19 at 12.02.00.png

Verification steps

Edited by 🤖 GitLab Bot 🤖