Files
BrowserOS/apps/agent/entrypoints/sidepanel
Felarof 51505e1de6 feat: add "don't show again" checkbox to survey popup (#404)
* feat: add "don't show again" checkbox to JTBD survey popup

Mirrors the ImportDataHint pattern — adds a checkbox that permanently
suppresses the survey popup when checked and dismissed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: persist dontShowAgain when user clicks Take Survey

Addresses Greptile review — if the checkbox is checked and the user
clicks "Take Survey", persist the flag before opening the survey so
the popup won't reappear if the survey tab is closed without starting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat: show "don't show again" only after 2nd popup, increase interval to 10 msgs

- Track shownCount in storage, only show checkbox on 3rd+ appearance
- Increase MESSAGE_THRESHOLD from 5 to 10 messages between popups
- Add DONT_SHOW_AGAIN_AFTER constant (2) for configurability
- Pass showDontShowAgain through the component chain

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: thread dontShowAgain through onTakeSurvey to avoid duplicate analytics

Addresses Greptile review — previously clicking "Take Survey" with the
checkbox checked would fire both dismissed and clicked events. Now the
dontShowAgain flag is threaded through onTakeSurvey, which persists it
without firing a dismiss event.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 11:20:55 -08:00
..
2026-02-23 07:28:45 -08:00
2026-01-16 01:21:09 +05:30
2026-01-16 01:21:09 +05:30
2025-12-29 18:39:52 +05:30
2026-01-30 23:33:57 +05:30