Closed jas-kas closed 1 month ago
cc/ @ryan953 @aliu39 @michellewzhang
the process will be similar to what we did for the issue details onboarding banner:
userFeedback.tsx
that will allow the user to collapse/expand the feedback (maybe add a message like "feedback is hidden" when it's hidden)usePrompt
hook on a PROJECT level: ex. https://github.com/getsentry/sentry/pull/69525/files
Problem
TL/DR: Issue Details page can show “User Feedback” section when the feedback comes from a crash report.
Sometimes the feedback is vulgar and Sentry users don’t want to see that.
Solution
Task: Make the feedback collapsable, and remember server-side that feedback is collapsed/hidden. The setting is applied to any feedback rendered directly on the Issue Details page, so if people hide the feedback once there, it’s hidden all the time for all feedbacks on Issue Details. Note: feedbacks on the the /feedback page and the Issue Details > User Feedback tab will still be visible as they are dedicated views for solely feedback messages.
┆Issue is synchronized with this Jira Improvement by Unito