feat(inbox): capture dismissal_note in dismiss analytics event#2287
Merged
Conversation
Annika wants to read the free-text feedback users leave when dismissing inbox reports without having to query the postgres artefact table. The note was already being sent to the API but dropped from the `Inbox report action` event payload. Truncated to 1000 chars to keep event payloads bounded (postgres stores up to 4000). Only attached when the user actually typed something.
Contributor
|
Reviews (1): Last reviewed commit: "feat(inbox): capture dismissal_note in d..." | Re-trigger Greptile |
oliverb123
approved these changes
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dismissal_noteto theInbox report actionevent whenaction_type = "dismiss"and the user typed a note in the dismiss dialogWhy
Annika asked in Slack for a dismiss event "including their feedback" so she can read why users are dismissing inbox reports directly in PostHog instead of querying
postgres_signals_signalreportartefact. We were already sending the note to the API (stored incontent.note) but it wasn't on the analytics event.Matches the precedent set by the unmerged Discuss button PR (which captures
question_texttruncated to 500 chars on thediscussaction).Test plan
dismissal_reasonand nodismissal_notekeydismissal_noteattached