Skip to content

Fixes Repainting problem on the issue page

Tim Zallmann requested to merge tz-issue-detail-reduce-repaint into master

What does this MR do?

  • It adds the sanitize of dompurify also to the API response, this leads to the same result and should avoid automatic rerendering
  • It caches if we already have parsed the initial data once (we do this currently twice) as this is quite costly

Issue Test - https://gitlab-review-tz-issue-d-mo5oqj.gitlab-review.app/gitlab-qa-sandbox-group/qa-test-2020-09-14-09-08-42-2afa08200ba28fd6/project-to-test-mention-3917d7a714e97018/-/issues/1

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Tim Zallmann

Merge request reports

Loading