Improve the display of date range limits for Analytics Dashboards

Summary

The DORA Metrics dashboard exhibits unexpected behavior when users select a custom date range greater than 180 days. The current implementation does not clearly communicate date range limitations to users, leading to confusion.

Background

A Slack discussion revealed that users are experiencing weird behavior on the DORA Metrics dashboard when selecting custom date ranges exceeding 180 days.

Slack discussion: https://gitlab.slack.com/archives/CETG54GQ0/p1763059383945899

Problem

Users are not adequately informed about date range limits for Analytics Dashboards, specifically:

  • No clear indication of the 180-day limit before selection
  • Unexpected behavior occurs when the limit is exceeded
  • Poor user experience due to lack of upfront validation or messaging

Expected Outcome

  • Clear communication of date range limits in the UI
  • Proper validation and user-friendly error messages when limits are exceeded
  • Consistent behavior across Analytics Dashboards
Edited by 🤖 GitLab Bot 🤖