Repository navigation
feat(sentry): Show a card for user feedback links - #3842
Merged
Merged
Conversation
Sentry user feedback links, such as <org>.sentry.io/feedback/?feedbackSlug=<project>:<id>, now resolve through the issue link type. A feedback issue gets its own card: the feedback title and message, the state (an ignored feedback is spam), the assignee, and the project. The card never shows the sender's name or email. Co-Authored-By: BYK <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
401 screenshot changes — 0 changed · 401 added · 0 removed |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 6658c8d. Configure here.
BYK
approved these changes
Nov 20, 2026
sentry-junior Bot
added a commit
that referenced
this pull request
Nov 20, 2026
A plugin can now say how each Event reads after its resource name, such as "is merged". The GitHub plugin does so for pull request and issue Events, and the custom snooze dialog lists each Event as a sentence, such as "When #3842 is merged".
22 tasks done
BYK
added a commit
that referenced
this pull request
Nov 21, 2026
A snoozed Inbox item that wakes now says why, in a short muted line on its row and card: "Woke: #3842 is merged" or "Woke: snooze time reached". Only the person whose snooze woke sees it. **Record.** `junior_inbox_snoozes` gets a nullable `wake_reason` jsonb (migration 0147): `{ kind: "time" }` or `{ kind: "event", namespace, eventType, identifier }`. It is set when a snooze settles as `woken`: - a timer fires, or a snooze is set to a time already past → time - `publish` fires a subject-Event or named-resource trigger → the Event, its resource and its type A trigger with the `resolve` outcome closes the item, and a manual Wake records nothing, so neither shows a reason. **Show.** `GET /api/inbox-items` adds an optional `wake` to open items for the viewer: `{ kind: "time" }` or `{ kind: "event", eventType, resource, phrase? }`. The phrase comes from the Event catalog, the same phrase the Snooze dialog uses. The dashboard moves `eventSentence` and `sentenceCase` out of `SnoozeDialog` into `snoozeSentences.ts`, so the condition ("When #3842 is merged") and the reason ("Woke: #3842 is merged") use the same code. An Event with no phrase reads "Woke: <event label> on <resource>". - Item row and closed Conversation row: the line under the title. - Open Conversation row: the line moves to the card of the item that woke. **Clear.** The reason clears when the viewer: - opens the item from the Inbox: expands its row, or follows its Open link. This calls the new `DELETE /api/inbox/snoozes/wakes`. The open row keeps the line until it closes. - acts on it: answer, Dismiss, take, or Done, through `POST /api/inbox-items/:id/actions` - snoozes it again **Notes for review** - The text uses the Event's present-tense catalog phrase ("is merged"), not "was merged". Past tense would need a new phrase field in the plugin event API, so I left it out. - The list read gains one statement. It runs in parallel with the other payload reads, so the SQL budgets in `actions.test.ts` and `evidence.test.ts` go up by one statement. A page whose other reads issue no SQL also gains one serial round. - The transcript question card and the classic sidebar do not show the reason. - `design/inbox.md` states the rule. **Screenshots** (mock data) Inbox rows, one woken by an Event and one by time: | | Desktop | Mobile | | --- | --- | --- | | Dark |  |  | | Light |  |  | Open Conversation row, with the reason on the card of the item that woke: | | Desktop | Mobile | | --- | --- | --- | | Dark |  |  | | Light |  |  | <!-- junior-request-attribution:start --> via @BYK. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:agent%3A1aa765a9dde01df13644f2fa3fca759f --> -- [View Session](https://junior-prod.sentry.dev/conversations/agent%3A1aa765a9dde01df13644f2fa3fca759f) [[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3A1aa765a9dde01df13644f2fa3fca759f/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: BYK <[email protected]>
This branch was successfully deployed
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.

Sentry user feedback links, such as
https://sentry.sentry.io/feedback/?feedbackSlug=cli%3A7857549981&project=…, got no card. A feedback is an issue (issueCategory: "feedback"), so the issue link type now claims feedback pages and reads the issue thatfeedbackSlug=<project>:<issue id>names.<org>.sentry.io/feedback/,<org>.sentry.io/issues/feedback/, andsentry.io/organizations/<org>/feedback/. A feedback page without a validfeedbackSluggets no card./issues/<id>/:metadata.summary, or the issue title without theUser Feedback:prefixmetadata.name,metadata.contact_email). It leaves out the issue-only noise too: culprituser, levelinfo, the 1-event count, and the default priority.Before this change, the same feedback linked as an issue showed "User Feedback: …" with the culprit
useras its summary.The screenshot comes from the dashboard mock with the card that the integration test asserts. A live card needs Sentry credentials.
via @BYK.
--
View Session [Sentry]