From 02540fe00f502a24a56e5f9654907abb9f3e7891 Mon Sep 17 00:00:00 2001 From: Travis Long Date: Wed, 24 Apr 2024 09:20:58 -0500 Subject: [PATCH 1/2] Bug 1892726 - Update Server Knobs configuration snippets With the recent additions to Glean v60.0.0, the configuration snippets needed some updates to match the current configuration schema. --- src/pages/MetricDetail.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/MetricDetail.svelte b/src/pages/MetricDetail.svelte index 81b7d5d9c..c18e6fe47 100644 --- a/src/pages/MetricDetail.svelte +++ b/src/pages/MetricDetail.svelte @@ -316,7 +316,7 @@ From c146b77848e7ab9c8fa5184bfa1fedf252f31792 Mon Sep 17 00:00:00 2001 From: Travis Long Date: Wed, 24 Apr 2024 09:36:13 -0500 Subject: [PATCH 2/2] Bug 1892726 - Part 2: Add configuration snippets for pings This adds Server Knobs configuration snippets to the Ping detail page. --- src/pages/PingDetail.svelte | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/src/pages/PingDetail.svelte b/src/pages/PingDetail.svelte index b771689aa..113c3c664 100644 --- a/src/pages/PingDetail.svelte +++ b/src/pages/PingDetail.svelte @@ -10,6 +10,7 @@ import VariantSelector from "../components/VariantSelector.svelte"; import AuthenticatedLink from "../components/AuthenticatedLink.svelte"; import Commentary from "../components/Commentary.svelte"; + import CopyButton from "../components/CopyButton.svelte"; import HelpHoverable from "../components/HelpHoverable.svelte"; import ItemList from "../components/ItemList.svelte"; import Label from "../components/Label.svelte"; @@ -88,6 +89,41 @@ /> + + + + + + + + + + +
+ Sampling Configuration Snippet + + + Click the button to copy a snippet for use in a + + Mozilla Experimenter configuration. + + + +
+