dashboard/dashboard/spa/chart-timeseries.js
function getIcon(datum) {
  if (!datum.alert) return {};
  if (datum.alert.improvement) {
    return {
      icon: 'cp:thumb-up',
      iconColor: 'var(--improvement-color, green)',
    };
  }
  return {
    icon: 'cp:error',
    iconColor: datum.alert.bugId ?
      'var(--neutral-color-dark, grey)' : 'var(--error-color, red)',
  };
}
function getIcon(datum) {
  if (!datum.alert) return {};
  if (datum.alert.improvement) {
    return {
      icon: 'cp:thumb-up',
      iconColor: 'var(--improvement-color, green)',
    };
  }
  return {
    icon: 'cp:error',
    iconColor: datum.alert.bugId ?
      'var(--neutral-color-dark, grey)' : 'var(--error-color, red)',
  };
}
function getIcon ( datum ) { if ( ! datum . alert ) return { } ; if ( datum . alert . improvement ) { return { icon : 'cp:thumb-up' , iconColor : 'var(--improvement-color, green)' , } ; } return { icon : 'cp:error' , iconColor : datum . alert . bugId ? 'var(--neutral-color-dark, grey)' : 'var(--error-color, red)' , } ; }
Improvement alerts display thumbs-up icons. Regression alerts display error icons.
Improvement alerts display thumbs - up icons . Regression alerts display error icons .