Polling for notes on MR diff doesn't render new discussions
We poll for new notes periodically on MR diffs. If a new note is returned and the note is part of an existing discussion thread, they will be rendered to the page. If the new note is the first note for a given line on the diff, nothing gets rendered.
From a UX POV, I can't think of any reason we'd purposefully not render new discussions, while rendering notes for existing discussions. It's also a problem that we run through all of the logic in renderDiscussionNote
in notes.js required to render the note, even if we're not going to. We could just skip all of it, as it contains some fairly expensive DOM queries.
I'm not sure if this is a regression or a ~bug
cc: @ClemMakesApps