Code Quality Notices on MR Diffs
These issues will iterate towards a full feature showing code quality notices in the MR diff view
### Iteration Plan
This is our high level iteration plan for the feature.
1. Move the comparison logic to the backend and have the frontend consume a diff instead of two full reports ~backend & ~frontend
1. Create a partial report file as pipelineArtifact and use it for the MR widget ~backend
1. Add in link between PipelineArtifact partial report file and file being looked at in MR diff ~frontend
1. Add in line annotations from partial report file ~frontend
### Gantt Chart
Note: Dates in the Gantt chart are placeholders only. I don't think you can create a Gantt chart in mermaid without dates (Technical limitation).
```mermaid
gantt
title Code Quality in MR Diffs
dateFormat YYYY-MM-DD
Section Issue 1
(BE) process diff in backend :a1, 2020-10-22, 30d
(FE) change mr widget to use diff :a2, 2020-10-22, 30d
Section Issue 2
(BE) Persist created diff as PipelineArtifact :after a1 , 30d
Section Issue 3
(FE) Associate CQ diff with MR diff page :after a1 , 30d
Section Issue 4
(FE) Use CQ diff to annotate MR diff page :crit, after a1 , 30d
```
epic