From 4b2c343c2253ce67ffa6c3db650e796713614d91 Mon Sep 17 00:00:00 2001 From: Michael Anthony Knyszek Date: Tue, 17 Sep 2024 19:18:45 +0000 Subject: [PATCH] perf: add latest release branch as option in branch drop-down This was requested by the tools folks because it allows creating stable links without knowing the magic query parameter. Change-Id: I29570f70cf89957a54a09d9eb94c45ca1fb8a283 Reviewed-on: https://go-review.googlesource.com/c/build/+/613916 Reviewed-by: Michael Pratt LUCI-TryBot-Result: Go LUCI --- perf/app/dashboard/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perf/app/dashboard/index.html b/perf/app/dashboard/index.html index d687334b..b3a95ccb 100644 --- a/perf/app/dashboard/index.html +++ b/perf/app/dashboard/index.html @@ -480,6 +480,10 @@ fetch('./formfields.json') opt.innerText = formFields.Branches[i]; select.appendChild(opt); } + var opt = document.createElement('option'); + opt.value = "latest-release"; + opt.innerText = "Latest release branch"; + select.appendChild(opt); prefillSearch(formFields); });