diff --git a/cmd/goose/main.go b/cmd/goose/main.go index 944f112..321d364 100644 --- a/cmd/goose/main.go +++ b/cmd/goose/main.go @@ -372,9 +372,9 @@ func (app *App) handleReauthentication(ctx context.Context) { } // Update tooltip - tooltip := "Goose - Loading PRs..." + tooltip := "Review Goose" if app.targetUser != "" { - tooltip = fmt.Sprintf("Goose - Loading PRs... (@%s)", app.targetUser) + tooltip = fmt.Sprintf("Review Goose (@%s)", app.targetUser) } systray.SetTooltip(tooltip) @@ -479,9 +479,9 @@ func (app *App) onReady(ctx context.Context) { app.setTrayIcon(IconSmiling, PRCounts{}) // Start with smiling icon while loading // Set tooltip based on whether we're using a custom user - tooltip := "Goose - Loading PRs..." + tooltip := "Review Goose" if app.targetUser != "" { - tooltip = fmt.Sprintf("Goose - Loading PRs... (@%s)", app.targetUser) + tooltip = fmt.Sprintf("Review Goose (@%s)", app.targetUser) } systray.SetTooltip(tooltip) diff --git a/cmd/goose/ui.go b/cmd/goose/ui.go index d7b22fd..77f04df 100644 --- a/cmd/goose/ui.go +++ b/cmd/goose/ui.go @@ -263,6 +263,13 @@ func (app *App) setTrayTitle() { "outgoing_blocked", counts.OutgoingBlocked) app.systrayInterface.SetTitle(title) app.setTrayIcon(iconType, counts) + + // Update tooltip to match current state + tooltip := "Review Goose" + if app.targetUser != "" { + tooltip = fmt.Sprintf("Review Goose (@%s)", app.targetUser) + } + systray.SetTooltip(tooltip) } // addPRSection adds a section of PRs to the menu.