-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(feedback): Add a mailto link, and make it easy to copy an email address in Feedback Details #68666
Conversation
…address in Feedback Details
Bundle ReportChanges will increase total bundle size by 18.33kB ⬆️
|
Can we make it more obvious that you can click to copy to clipboard? Maybe a tooltip or change to the pointer cursor? |
@c298lee thats a good idea, I'll put it in for sure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title: string; | ||
value: string; | ||
initial_priority?: number; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needed to make the types work. the real response in the browser has it so i think it was either recently added to issues, or we just missed it when we did the types the first time around.
…address in Feedback Details (#68666) There's a new send-email button that uses a `mailto` to open your email client and let you start typing. <img width="405" alt="SCR-20240410-nufl" src="https://github.com/getsentry/sentry/assets/187460/d006f918-85d3-410a-b14f-06171c430bc5"> Clicking on the name/email text will highlight all of it in blue (as shown) and copy "Josh Ferge <josh.ferge@sentry.io>" onto the clipboard: <img width="320" alt="SCR-20240410-nufy" src="https://github.com/getsentry/sentry/assets/187460/c8affee4-8dd3-4be6-acc3-d071941d52fa"> It's standard format, mail clients will allow you to paste it. It's nice because it includes both parts in a well formatted structure (i generally find it's easier to remove extra bits if needed compared to having to copy+paste more often). Also, this change makes it so if someone types the same thing into the name & email fields we'll only show it once. Fixes getsentry/team-replay#414
There's a new send-email button that uses a
mailto
to open your email client and let you start typing.Clicking on the name/email text will highlight all of it in blue (as shown) and copy "Josh Ferge josh.ferge@sentry.io" onto the clipboard:
It's standard format, mail clients will allow you to paste it. It's nice because it includes both parts in a well formatted structure (i generally find it's easier to remove extra bits if needed compared to having to copy+paste more often).
Also, this change makes it so if someone types the same thing into the name & email fields we'll only show it once.
Fixes https://github.com/getsentry/team-replay/issues/414