[User Feedback] It's not clear enough to users that their name/email may still be submitted when name/email fields are hidden
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
The config fields in play are:
- did they call
Sentry.setUserand isuseSentryUseris 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 |
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).