feat: render suggestions in MR webview
This MR improves the UI of a suggestion in a webview MR comment:
web | webview before | webview after |
---|---|---|
The trickiest part was to change the markup of the suggestion directly within the Vue component where we set the markup using v-safe-html
.
I opted for a simpler solution where we manipulate the DOM in a browser. Alternative was to parse the HTML into a virtual doma and manipulate it before initializing the Vue component.
Related to #371 (closed)