Un-block UI interactions while Code Quality MR widget is loading
requested to merge 11818-code-quality-mr-widget-blocks-the-whole-mr-detail-web-ui-while-loading into master
What does this MR do?
When the list of Code Quality issues (both for the target branch and the MR branch) gets long, the comparison between the two takes a long time (around 8 seconds on current gitlab-ee MRs, for example). This MR moves the Code Quality comparison calculations into web worker threads to avoid blocking the main thread while the comparison is running. This allows the UI to remain responsive to other interactions while the Code Quality results are still loading.
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry - [-] Documentation created/updated or follow-up review issue created
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
-
Separation of EE specific content
Performance and testing
I have updated the existing tests for this feature, but I am unsure whether additional tests are now needed.
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers
Closes #11818 (closed)
Edited by Miranda Fluharty