From fc939b45cd343f5d6d021cdb95177df74f849f8c Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Thu, 7 Dec 2023 16:45:55 -0800 Subject: [PATCH] Show the sigificant change in the graphs (#4025) --- lib/plugins/compare/pug/index.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/compare/pug/index.pug b/lib/plugins/compare/pug/index.pug index 1db840265..4e095cb25 100644 --- a/lib/plugins/compare/pug/index.pug +++ b/lib/plugins/compare/pug/index.pug @@ -96,7 +96,7 @@ each metricGroup, groupName in compare.metrics each values, metricName in metricGroup - var fullMetricName = groupName + '.' + metricName - var metricId = fullMetricName.replace(/\./g, '_') - h3 #{fullMetricName} + h3 #{fullMetricName} #{values.statisticalTestU === "N/A"? '' : values.statisticalTestU < 0.05 ? '(significant change)' : ''} .ct-chart(id=`chart-${metricId}`) .ct-legend span.ct-legend-item