Skip to content

Add string constants file

Created by: jeremco

Hi guys, The goal of this PR is to remove hardcoded strings, and to add constants files.

I have added 3 constants files :

  • streaming/constants/Constants.js for general strings that can be used all over the code
  • streaming/constants/MetricsConstants.js to declare strings relative to metrics (and replace file DashMetricsList).
  • dash/constants/DashConstants.js for strings relative to dash module

The idea is to centralized strings constants, so that they can be easily used and of course modified if needed.

Jérémie

Merge request reports