Decouple diff discussions from Vuex
In order to reuse MR discussions in Rapid Diffs without touching the diffs Vuex state we'd have to decouple these components from Vuex. This should be done in 2 steps:
- Basic — move the Vuex imports to the closest parent that is not used in Rapid Diffs (for example app.vue), use props and events to communicate with these components, instead of direct Vuex calls.
- Advanced — split the Vuex logic per responsibility (potentially leverage Pinia), reuse parts of this logic in Rapid Diffs.
This issue could be focused on both, depending on the complexity of refactorings. If part 2 is way too complex to fit into one milestone this should be split into another issue.