Skip to content

Commit 3a2778a

Browse files
Thomas StrombergThomas Stromberg
authored andcommitted
Use red_circle instead of large_red_circle
1 parent 27055ed commit 3a2778a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

pkg/home/ui.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ func BuildPRSections(incoming, outgoing []PR) []slack.Block {
140140
var indicator string
141141
switch {
142142
case prs[i].NeedsReview:
143-
indicator = ":large_red_circle:"
143+
indicator = ":red_circle:"
144144
case prs[i].IsBlocked:
145-
indicator = ":large_red_circle:"
145+
indicator = ":red_circle:"
146146
case prs[i].ActionKind != "":
147147
indicator = ":speech_balloon:"
148148
default:

pkg/home/ui_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,13 @@ func TestBuildBlocks(t *testing.T) {
143143
foundBlockedPR := false
144144
for _, block := range blocks {
145145
if sb, ok := block.(*slack.SectionBlock); ok {
146-
if sb.Text != nil && strings.Contains(sb.Text.Text, ":large_red_circle:") {
146+
if sb.Text != nil && strings.Contains(sb.Text.Text, ":red_circle:") {
147147
foundBlockedPR = true
148148
}
149149
}
150150
}
151151
if !foundBlockedPR {
152-
t.Error("expected PR with :large_red_circle: indicating blocked incoming PR")
152+
t.Error("expected PR with :red_circle: indicating blocked incoming PR")
153153
}
154154
},
155155
},
@@ -410,8 +410,8 @@ func TestBuildPRSections_SortOrder(t *testing.T) {
410410
}
411411

412412
// Verify color indicators
413-
if !strings.Contains(incomingText, ":large_red_circle:") {
414-
t.Error("incoming blocked PRs should use :large_red_circle:")
413+
if !strings.Contains(incomingText, ":red_circle:") {
414+
t.Error("incoming blocked PRs should use :red_circle:")
415415
}
416416
if !strings.Contains(outgoingText, ":large_green_circle:") {
417417
t.Error("outgoing blocked PRs should use :large_green_circle:")

0 commit comments

Comments
 (0)