Closed joranbeasley closed 1 month ago
some other things ive tried
Sentry.getContext().addAttachment(fileAttachment) // (same issue)
// and also
Sentry.getContext().addAttachment(fileAttachment) // (same issue)
Sentry.captureMessage(`BUG-REPORT-${user.email}-${currentDate}`)
Sentry.getContext().clearAttachments()
Sentry.captureFeedback(...)
the second option almost works ... its just kind of gross and im worried it will pollute our issues
Thanks for raising this, I will forward this to the people responsible for the user feedback!
Hello,
an update was shipped to Sentry to handle non-image attachments for feedback! So this should now be handled properly.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
8.18.0
Framework Version
No response
Link to Sentry event
https://zentra.sentry.io/feedback/?feedbackSlug=zentra-frontend%3A5633115988&project=4506819749871616&project=4506350319239168&project=4505371415216128&project=4503961652625408&referrer=feedback_list_page&statsPeriod=24h
SDK Setup/Reproduction Example
Steps to Reproduce
select some files... one image/png and then some others(not images) and and hit submit
Expected Result
potentially
Actual Result
the userfeedback section tries to generate image previews and clicking the "preview" simply still shows as a broken image ... now a tech savvy user can inspect the page and find the attachment/XXXXXXX/download link and recover the file, but this is not user friendly nor intuitive
I have also tried using a captureMessage with attachment context, and that looks a bit better(in terms of getting the attachments downloaded) ... but it lumps all of the feedbacks together and just feels a bit wrong ...
please handle attachments in userFeedback better,,, or can i create a comment on the feedback id somehow and attach the files to that?
or just suggest how I can mitigate this
I would really like to use sentry to capture userfeedback ... we just need attachments to work better