sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

[User Feedback] It's not clear enough to users that their name/email may still be submitted when name/email fields are hidden

Open ryan953 opened this issue 1 year ago • 1 comments

It's a little creepy to reply to users who have submitted feedback when the feedback form is not explicit about whether the feedback is being submitted anonymously or not. For example, it's ambiguous when Sentry.setUser() has been called, but the feedback integration has showEmail: false set.

Suggestion: Make it explicit on the form that things are not sent anonymously

Image

ryan953 avatar May 29 '24 15:05 ryan953

The config fields in play are:

  • did they call Sentry.setUser and is useSentryUser is wired up correctly
  • showEmail
  • isEmailRequired

https://docs.sentry.io/platforms/javascript/user-feedback/configuration/#user-and-form

The table probably looks like:

setUser showEmail isEmailRequired Result
- false false Hidden Input, fully anon feedback
- false true Input shown, empty, required
- true false Input shown, empty
- true true Input shown, empty, required
{...} false false Previously: Hidden -> Change to: Shown, filled, disabled?
{...} false true Input shown, filled, required
{...} true false Input shown, filled
{...} true true Input shown, filled, required

ryan953 avatar May 30 '24 22:05 ryan953

It's just personal taste at this point, but I'm rarely a fan of using italics. I'd rather we increased the font-weight of our labels (I'd recommend 600).

Jesse-Box avatar May 31 '24 07:05 Jesse-Box