From 68f8dc8d2bd5c3c8f3bb1b4230a62261d68111e8 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 10 Apr 2026 03:36:11 +0000 Subject: [PATCH 1/2] docs(merge-queue): document interactive date range selection on health charts Users can now click and drag on any merge health chart to select a custom date range for focused inspection. Source: trunk2 PR #3489 Co-Authored-By: Claude Opus 4.6 --- merge-queue/administration/metrics.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/merge-queue/administration/metrics.md b/merge-queue/administration/metrics.md index 165f747d..3bff66a4 100644 --- a/merge-queue/administration/metrics.md +++ b/merge-queue/administration/metrics.md @@ -73,6 +73,12 @@ The date ranges selector at the top left of the dashboard allows you to filter t The metrics displayed only include data that have **completed within the time range**, jobs started but not completed during the selected time **will not be displayed**. +### Select a date range on a chart + +You can click and drag directly on any merge health chart to select a custom date range. Dragging across a span of bars highlights that window and zooms the view to show only data within the selected range. This lets you isolate a specific incident, deployment window, or performance regression for closer inspection. + +To clear a selection and return to the full time range, click anywhere outside the selected area on the chart. + {% hint style="info" %} When working across multiple time zones, enable **Time in UTC** to ensure everyone sees the same data. {% endhint %} From 895892e1c06ae2b1559e9c9d9c933ccabb566880 Mon Sep 17 00:00:00 2001 From: Sam Gutentag <1404219+samgutentag@users.noreply.github.com> Date: Thu, 7 May 2026 00:47:49 -0700 Subject: [PATCH 2/2] docs(merge-queue): merge date-range-selection content into Drill down section Re-verification against trunk2#3489 surfaced four content issues with the standalone "Select a date range on a chart" section: it described "span of bars" though the feature works on the line chart too, claimed "any merge health chart" though only Conclusion count and Time in queue support it, said "click anywhere outside the selected area" to clear though the actual hook does not implement that gesture, and overlapped with the existing Drill down section that documents the same click and drag gesture for the View PRs outcome. Restructure folds the new affordances into the existing "Drill down into metrics > Select Data Points" subsection: the range-selection description now covers highlight and dim, cross-chart sync, and the real clear mechanism (drag a new range, or change time range, time bucket, or UTC setting). The standalone UTC hint moves up next to "Time buckets" since it is general date-filtering advice. The trailing hint is updated to mention range selection alongside drill down. Co-Authored-By: Claude Opus 4.7 (1M context) --- merge-queue/administration/metrics.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/merge-queue/administration/metrics.md b/merge-queue/administration/metrics.md index e9a98af6..b57fd4c4 100644 --- a/merge-queue/administration/metrics.md +++ b/merge-queue/administration/metrics.md @@ -73,12 +73,6 @@ The date ranges selector at the top left of the dashboard allows you to filter t The metrics displayed only include data that have **completed within the time range**, jobs started but not completed during the selected time **will not be displayed**. -### Select a date range on a chart - -You can click and drag directly on any merge health chart to select a custom date range. Dragging across a span of bars highlights that window and zooms the view to show only data within the selected range. This lets you isolate a specific incident, deployment window, or performance regression for closer inspection. - -To clear a selection and return to the full time range, click anywhere outside the selected area on the chart. - {% hint style="info" %} When working across multiple time zones, enable **Time in UTC** so everyone sees the same data. {% endhint %} @@ -129,12 +123,14 @@ Aggregated charts tell you _that_ something happened — drilling down tells you You have two ways to select: * **Click a single data point** to see the PRs in that time bucket. -* **Click and drag across the chart** to select a range of data points spanning multiple time buckets. +* **Click and drag across the chart** to select a range of data points spanning multiple time buckets. The selected range stays highlighted and the rest of the chart dims, giving you a focused view of just that window. The same range syncs across both charts so you can correlate Conclusion count and Time in queue data for the period you picked. Once a selection is made, a **View PRs** button appears. Click it to open the list of PRs that make up the selection.
PR Outcomes and Time in Queue charts with a selected Apr 20–21 range broken out into 998 merged, 30 cancelled, and 30 failed, and a selection bar showing the View PRs button

The View PRs button appears after selecting a data point or range.

+To pick a different window, drag a new selection. To clear the selection, change the time range, time bucket, or **Time in UTC** setting at the top of the dashboard. + #### Review the PR List The PR list page shows every PR included in your selection, along with: @@ -148,7 +144,7 @@ Both columns are sortable, so you can quickly surface the longest-running PRs in
PRs in Range table listing individual PRs with Conclusion (Merged or Failed), Reason, and Time in Queue columns, sorted by Time in Queue descending

The drill-down PR list, sortable by conclusion and time in queue.

{% hint style="info" %} -Drill down is currently available on the Conclusion count and Time in queue charts. Additional Health charts will support the same interaction as they land in the UI. +Drill down and range selection are currently available on the Conclusion count and Time in queue charts. Additional Health charts will support the same interactions as they land in the UI. {% endhint %} ***