Skip to content

fix(local): Title feedback in event list with its message - #2481

Merged
MathurAditya724 merged 2 commits into
mainfrom
fix/local-feedback-title
Nov 24, 2026
Merged

MathurAditya724 merged 2 commits into
mainfrom
fix/local-feedback-title

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

sentry local event list titled 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:

Before:  feedback │ info │ GET /feedback
After:   feedback │ info │ The checkout button does nothing

On a Worker, the title went from — to the message.

via @MathurAditya724.

--

View Session [Sentry]

`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>
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cli Ready Ready Preview Nov 24, 2026 8:55am UTC
sentry-local Ready Ready Preview Nov 24, 2026 8:55am UTC

Request Review

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 MathurAditya724 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@MathurAditya724
MathurAditya724 merged commit 2fdedaa into main Nov 24, 2026
31 checks passed
@MathurAditya724
MathurAditya724 deleted the fix/local-feedback-title branch November 24, 2026 11:07

This branch was successfully deployed

2 active deployments
Preview – sentry-local — 5cdb98f3 Deployed Nov 24, 2026 by vercel[bot]
Preview – cli — 5cdb98f3 Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant