Files
goose/ui
jh-block fda42daa4f feat: Add in-app feedback collection widget to desktop GUI
Implement a low-interruption periodic feedback prompt that appears inline in the chat. After every 5th message exchange, users see a "How's Goose doing?" banner with 4 emoji-face rating buttons (1-4 scale). Ratings are sent via the existing PostHog telemetry pipeline.

- New hook `useFeedbackPrompt` manages trigger heuristics: every 5th exchange, 20-minute in-session cooldown, 24-hour cross-session cooldown
- New component `FeedbackBanner` renders inline within chat scroll area with emoji ratings and dismiss button
- Analytics events `feedback_submitted` and `feedback_dismissed` track user sentiment
- Settings persistence for cross-session cooldown via `lastFeedbackTimestamp`
- Respects telemetry opt-out: banner never shows if telemetry is disabled

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-09 16:08:05 +01:00
..