Skip to content

Switch `logs-page` key to snake_case

What does this MR do?

Switches from logs-page to logs_page so the frontend display a link to the logs in both embed and dashboard.

The reason is that the frontend only expects these keys:

     const endpointKeys = [
      ...
      'logsPath',
    ];

https://gitlab.com/gitlab-org/gitlab/blob/0694db97c4541bbdd6e66df452f815625ea2f3c1/app/assets/javascripts/monitoring/stores/mutations.js#L179

And only snake_keys get transformed to the camel case versions here.

This has no impact in the haml generated.

Screenshots

works here and here!
image 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

Closes #201846 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading