MCPcopy Create free account
hub / github.com/GoogleChrome/webstatus.dev / contextImageText

Function contextImageText

workers/webhook/pkg/webhook/slack.go:492–497  ·  view source on GitHub ↗
(imageURL, altText, text string)

Source from the content-addressed store, hash-verified

490 for _, h := range b.movedFeatures {
491 if h.Moved == nil {
492 continue
493 }
494 featureURL := fmt.Sprintf("%s/features/%s", b.frontendBaseURL, h.FeatureID)
495 noLongerStr := ""
496 if h.Moved.To.QueryMatch == workertypes.QueryMatchNoMatch {
497 noLongerStr = " :warning: _(No longer matches)_"
498 }
499 txt := fmt.Sprintf("*Moved/Renamed* \nRenamed from %s to <%s|%s>%s",
500 h.Moved.From.Name, featureURL, h.Moved.To.Name, noLongerStr)

Callers 2

appendBaselineChangesMethod · 0.85
appendRegressionsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected