Repository navigation
fix(local): Title feedback in event list with its message - #2481
Conversation
`sentry local event list` titled a feedback item with the page or request it was sent from (`GET /feedback`), or left it empty on runtimes that send no transaction. Read the message from `contexts.feedback` instead. Co-Authored-By: Aditya Mathur <57684218+MathurAditya724@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Cut long `event list` titles on a grapheme boundary so an emoji is not split, and treat a blank feedback message as missing so the title falls back as usual. Co-Authored-By: Aditya Mathur <57684218+MathurAditya724@users.noreply.github.com>
MathurAditya724
left a comment
There was a problem hiding this comment.
Reviewed exact head 5cdb98f against main including #2480. No actionable findings. Typecheck, lint and full workspace tests passed. Independent offline CLI QA used real @sentry/node captureFeedback inside an http.server request span: event list chose the feedback message over the request transaction, retained the complete emoji at the cutoff, and returned exactly 200 UTF-16 code units including the ellipsis. Reviewed blank/missing-message fallback and grapheme boundaries. Also passed 140 independent grapheme-boundary cases (emoji, flags, combining characters and joined sequences). The first full run hit an unrelated project-list pagination assertion; that case passed in isolation and the complete workspace rerun passed.
sentry local event listtitled user feedback with the page or request it was sent from, so you couldn't tell feedback rows apart. On Cloudflare Workers, Bun, and Deno the SDK sends no transaction, so the title was empty. Now the title is the feedback message, cut to 200 characters like other titles.For
Sentry.captureFeedback({ message: "The checkout button does nothing" })inside an Express route:On a Worker, the title went from
—to the message.via @MathurAditya724.
--
View Session [Sentry]