Skip to content

Add annotations config generator

What does this MR do?

This method updates generateAnnotationsSeries to be able to receive annotations and parse them. The method generates markLine that will be draw as annotation lines. The method calling this method doesn't have annotations yet.

Note 1:

Annotations endpoints are not ready and data cannot be fetched yet. After #211330 (closed) is implemented, this issue will have access to annotations data and hence this issue doesn't actually update the charts UI.

Note 2:

This MR does not change anything on the UI. Hence UX approval is not required.

Screenshots

This is how the annotations will look like after the backend piece is implemented.

image

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

Mentions #211418 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports