Skip to content

Update constants as primitives

Samantha Ming requested to merge 370864-update-constants into master

What does this MR do and why?

This MR refactors the constants to be primitives per our handbook good practice > https://docs.gitlab.com/ee/development/fe_guide/style/javascript.html#export-constants-as-primitives

Prefer exporting constant primitives with a common namespace over exporting objects.

Screenshots or screen recordings

There is no UI/UX change in this MR.

How to set up and validate locally

n/a

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #370864 (closed)

Edited by Samantha Ming

Merge request reports

Loading