Skip to content

Display merge conflicts in diffs app

Phil Hughes requested to merge ph/frontendDisplayConflicts into master

What does this MR do?

This is the frontend for #267337 (closed) which will allow the diffs app to correctly display merge conflicts and style them accordingly.

Note this requires the following feature flags

unified_diff_components display_merge_conflicts_in_diff

& also requires you to compare against master (HEAD)

Screenshots (strongly suggested)

Screenshot_2020-11-17_at_10.20.06

Screenshot_2020-11-17_at_10.20.13

Syntax theme
White white
Dark dark
Solarized light solarized_light
Solarized dark solarized_dark
Monokai monokai
None none

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 Phil Hughes

Merge request reports