[go: up one dir, main page]

Consolidate date range constants

What does this MR do and why?

Replaces all instances of `DORA_METRIC_QUERY_RANGES` with `DATE_RANGE_OPTIONS` to consolidate duplicate date range constants across analytics dashboards.

The codebase had two sets of date range constants serving the same purpose. DATE_RANGE_OPTIONS is the preferred approach as it aligns with the date range filter implementation and provides a consistent structure.

Changes

  • Removed DORA_METRIC_QUERY_RANGES definition from constants file
  • Updated imports in 3 data source files to use DATE_RANGE_OPTIONS
  • Modified date range access patterns to use object structure (startDate property)

cc @apennells

Closes #583807

Edited by Harshith

Merge request reports

Loading