Show the sigificant change in the graphs (#4025)

This commit is contained in:
Peter Hedenskog 2023-12-07 16:45:55 -08:00 committed by GitHub
parent 3c4dc43a8c
commit fc939b45cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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