Improve "Reply quoting selected text"
I think we can use the Selection API to make the "Reply quoting selected text" feature smarter.
First, for example, we can use the containing element to figure out who the author of the text is, and prepend it automatically:
@soandso [wrote](#link_to_note_anchor):
> This is what I selected
Second, we can be smarter about the context of the selected text. Say I'm on a merge request page and I select some text that's part of a discussion on a diff:
Right now if I hit r the field used is the main reply form. What should really happen is the reply field below the highlighted discussion should open, quoting the selected text.
cc @JobV for scheduling. The first idea should be simple, the second idea is harder and might depend on our improving all of the Note-related javascript.