Skip to content

Enable `vsa_predefined_date_ranges` feature flag by default

What does this MR do and why?

Default enables the vsa_predefined_date_ranges feature flag.

Enhances date picker on the Value Stream Analytics page with a dropdown for predefined date ranges.

Screenshots or screen recordings

View Before After After (custom option selected)
Group level Screenshot 2023-09-18 at 3.00.58 PM.png Screenshot 2023-10-04 at 11.32.45 AM.png Screenshot 2023-10-04 at 11.33.00 AM.png
Project level Screenshot 2023-09-18 at 3.00.39 PM.png Screenshot 2023-10-04 at 11.33.13 AM.png Screenshot 2023-10-04 at 11.33.28 AM.png
FOSS (project level only) Screenshot 2023-09-18 at 3.09.44 PM.png Screenshot 2023-10-04 at 11.35.38 AM.png Screenshot 2023-10-04 at 11.35.19 AM.png

How to set up and validate locally

  1. Please make sure that you're on the GitLab Ultimate plan.
  2. Visit any group/project that has VSA data or follow these steps:
    1. run FILTER=customizable_cycle_analytics SEED_CUSTOMIZABLE_CYCLE_ANALYTICS=1 bundle exec rake db:seed_fu
    2. Visit the group/project value stream. The group/project URL is present in the output of the command above.
  3. Verify that the dropdown is there and works correctly.
    • Predefined dates ranges return correct start and end dates, as well as number of days selected
    • Selecting a predefined date range hides date range picker
    • Selecting Custom option displays date range picker
  4. Repeat Step 3 for CE as well (project level only)

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 #433149 (closed)

Edited by Rudy Crespo

Merge request reports