Skip to content

Add util method to frontend to convert inline diff lines to parallel

What does this MR do?

Adds a util method to the frontend diffs app that accepts the inline diff lines array and then outputs the parallel diff lines. This is part of the effort to render both inline and parallel from the same array.

#236143 (closed)

Screenshots

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

Merge request reports