Skip to content

Added DropDown to Add thread to review alongside Comment

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

The code diff is related to a feature that allows users to save draft comments and discussions on GitLab. The changes introduce a new dropdown menu for selecting the type of comment (comment or discussion) and whether it should be added to a review or not. Additionally, a new field called note_type is added to the draft_notes table in the database to store the selected comment type. The maximum length for this field is set to 255 characters. The code also includes updates to the user interface, such as new buttons and labels, to support the new functionality.

Screenshots or screen recordings

Before After
image image image

Relates to: #339960 (closed)

Edited by Ishmeet Singh

Merge request reports