Support rendering multiple discussions

What does this MR do and why?

This MR changes this in Rapid Diffs:

  1. Adds support for rendering multiple discussions on the same diff line
  2. Adds support for adding replies to existing discussions
  3. Fixes new discussion request format (wraps everything in the note object)

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Enable rapid_diffs_on_commit_show feature flag
  2. Go to any commit with multiple discussions on a single diff line
  3. Observe all discussions to render on the diff file
Edited by Stanislav Lashmanov

Merge request reports

Loading