Skip to content

Commit 826908d

Browse files
authored
Merge pull request #5 from ready-to-review/parallel
Less icons in the menu bar
2 parents aca83a1 + 4889d52 commit 826908d

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

ui.go

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,11 @@ func (app *App) countPRs() (int, int, int, int) {
135135
}
136136

137137
// addPRMenuItem adds a menu item for a pull request.
138-
func (app *App) addPRMenuItem(ctx context.Context, pr PR, isOutgoing bool) {
138+
func (app *App) addPRMenuItem(ctx context.Context, pr PR, _ bool) {
139139
title := fmt.Sprintf("%s #%d", pr.Repository, pr.Number)
140-
if (!isOutgoing && pr.NeedsReview) || (isOutgoing && pr.IsBlocked) {
141-
if isOutgoing {
142-
title = fmt.Sprintf("🚀 %s", title)
143-
} else {
144-
title = fmt.Sprintf("🕵️ %s", title)
145-
}
140+
// Add bullet point for PRs where user is blocking
141+
if pr.NeedsReview {
142+
title = fmt.Sprintf("• %s", title)
146143
}
147144
tooltip := fmt.Sprintf("%s (%s)", pr.Title, formatAge(pr.UpdatedAt))
148145
item := systray.AddMenuItem(title, tooltip)

0 commit comments

Comments
 (0)