Prettify JSON of sample alert payload

What does this MR do?

Prettifies saved sample alert payload so that it is easier for the user to edit it

To check navigate to Settings > Operations > Alerts expand section or the direct link will be localhost/group/project/-/settings/operations#js-alert-management-settings

Screenshots (strongly suggested)

Before After
Screen_Shot_2021-03-24_at_13.47.41 Screen_Shot_2021-04-01_at_21.50.36

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

Related to #325824 (closed)

Edited by Olena Horal-Koretska

Merge request reports

Loading