Skip to content

Vue MR Page - Data structure update

Tim Zallmann requested to merge tz-mr-new-datastructure into master

What does this MR do?

It updates the MR Vue application to use a new datastructure by merging and updating diffs + discussions instead of linking through dynamic getters. By doing this the performance is greatly improved especially on interacting with it, creating new comments, etc.

Also it is faster now as discussions are added async after the diff is rendered.

I tested the updated functionality against this feature set:

Are there points in the code the reviewer needs to double check?

That everything still works + performance greatly improved.

Why was this MR needed?

To improve the performance while interacting with an MR (posting takes now on the client side even on a 10.000 line MR ~120ms during tests)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Edited by Tim Zallmann

Merge request reports