Skip to content

Define supported panel types as constants

Miguel Rincon requested to merge 214458-panel-types-as-constants into master

What does this MR do?

Cleanup related to #214458 (closed)

Currently our panel types are defined as strings and could be easily changed, creating a breaking change.

This refactor defines the panel types as constants.

Screenshots

No changes.

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 🤖 GitLab Bot 🤖

Merge request reports