Skip to content

Add ContentEditorError component

What does this MR do?

This MR introduces a ContentEditorError component for the ContentEditor feature. The goal of this component is capturing when the ContentEditor class triggers an error and displaying that error to the user.

Context

This MR forms part of a bigger refactoring to simplify the process of initializing the Content Editor in features across GitLab. Check !67372 (merged) to see this component in action.

Screenshots or Screencasts (strongly suggested)

This MR does not introduce user-facing changes.

How to setup and validate locally (strongly suggested)

This MR does not introduce new behavior in the Content Editor.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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 Enrique Alcántara

Merge request reports

Loading