Skip to content
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

[User feedback] Allow defining additional context such as Extras, Context, and Environment #61313

Closed
Tracked by #60114
sentry-io bot opened this issue Dec 6, 2023 · 14 comments
Closed
Tracked by #60114

Comments

@sentry-io
Copy link

sentry-io bot commented Dec 6, 2023

Sentry Issue: JAVASCRIPT-2Q36

Allow applying Scope and all its fields to feedback

Original feedback

Allow defining additional context such as Tags, Extras and Context.

Another use case:

I would use this to tag app version from which the feedback was sent, for example.

@bruno-garcia bruno-garcia changed the title User Feedback [User feedback] Allow defining additional context such as Tags, Extras and Context Dec 6, 2023
Copy link
Author

sentry-io bot commented Dec 13, 2023

Sentry issue: JAVASCRIPT-2Q90

@flexchar
Copy link

This is basically a must for it to be truly useful. :)

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 Dec 17, 2023
Copy link
Author

sentry-io bot commented Dec 18, 2023

Sentry issue: JAVASCRIPT-2QBK

@bruno-garcia
Copy link
Member

This is basically a must for it to be truly useful. :)

could you share some use cases where this can help you unblock?
I've been using the product a lot without this feature so trying to understand what other uses this can help out with

@flexchar
Copy link

flexchar commented Dec 18, 2023

Totally Bruno.

I develop Chrome extension that augments chat interface with AI suggestions. As anything with AI, it does everything but what we want. There are instances where users will report that messages are not up-to date, or they belong to another chat, or extension is not loading, or [any type of bug] in other means.

If it's an error in the code, I get amazing reporting with rich context where I know exactly what account, what chat, what messages, etc. I can look up and easily reproduce.

But when people report in other forms, I must trust what they say but I have no context. Sentry feedback seemed super easy win. I just registered integration and it worked from the first attempt - how nice! However because it's only a sole message with few browser details, it's not any better than someone texting me and saying "hey, it doesn't work".

Hope that gives an idea.

Perhaps I could clarify why I said what I did. I see Sentry as an error tracking service. Some errors are a typo or reading x on undefined, others are unmet user expectations. They both stem ƒrom the same place and greatly benefit knowing what the user was doing.

I also noticed that form submit requests contain all the extra information so hopefully it's easy to display it as on the classic errors.

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 Dec 18, 2023
@billyvg billyvg changed the title [User feedback] Allow defining additional context such as Tags, Extras and Context [User feedback] Allow defining additional context such as Tags, Extras, Context, and Environment Dec 19, 2023
@getsantry
Copy link
Contributor

getsantry bot commented Dec 20, 2023

Routing to @getsentry/product-owners-replays for triage ⏲️

@getsantry getsantry bot removed the status in GitHub Issues with 👀 Dec 20, 2023
@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 Dec 20, 2023
@bruno-garcia
Copy link
Member

Thank you for the context @flexchar ! That's helpful.
Curious if you've tried Session Replay already. With it, you can see up to 30 seconds of the user leading up to them filing the feedback. This hopefully will be more helpful than any tags.

That said this issue is open for us to figure out adding tag support, before we GA the product

@flexchar
Copy link

Actually I did @bruno-garcia try unfortunately with no success. It would just not work, no errors, nothing. I started out with attempt to plug in performance tracing/profiling. I wanted a simple tracking for how long it takes a user to get AI responses (the final ultimate latency). I could not get that to work. I also never seen session replay.

I suppose it's because Chrome extensions run in rather isolated runtimes. Even though they augment website's UI, they are not the website and they are actually blank on their own. Furthermore, I chose Plasmo framework for building extension which may further contribute to limited access to the runtime initialisation.

However both work well in a typical web app. Session replay magically worked upon setup on my VueJS based app.

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 2 Dec 21, 2023
@bruno-garcia
Copy link
Member

bruno-garcia commented Dec 22, 2023

I suppose it's because Chrome extensions run in rather isolated runtimes.

Right in general these tools are built to run on the final site, and not on Chrome Extensions.

However both work well in a typical web app. Session replay magically worked upon setup on my VueJS based app.

Glad to hear that!

@jas-kas
Copy link
Member

jas-kas commented Jan 3, 2024

Update on how this works today:

Our SDK does send client level tags for User Feedback (what you have set with Sentry.setTag); however, you cannot set tags specifically for the User Feedback event itself.

Our Tags list you see on our User Feedback Details page is a defined list of any user tags with lots of specific context values (like OS version, browser name, SDK version, etc), so custom tags won't appear there today. However, you can search feedback submissions attached to a certain custom tag value with our search bar (despite them not appearing in the dropdown list of search conditions).

@bruno-garcia
Copy link
Member

Worth clarifying my comment about Replay missed the point we're talking about a Chrome extension. We have it on the docs that this isn't something we support: https://docs.sentry.io/platforms/javascript/session-replay/troubleshooting/#replay-on-my-browser-extension-doesnt-work

Right in general these tools are built to run on the final site, and not on Chrome Extensions.

This is what I tried to explain through this but worth being more clear.

@flexchar
Copy link

flexchar commented Jan 16, 2024

Cheers Bruno! It was very clear but it's never too bad to clarify for tinkerers around.

PS. I got an email from Jazmin that tags have been published and they're now showing up on the interface, super nice & extra useful! 🤝

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 2 Jan 16, 2024
@bruno-garcia bruno-garcia changed the title [User feedback] Allow defining additional context such as Tags, Extras, Context, and Environment [User feedback] Allow defining additional context such as Extras, Context, and Environment Jan 17, 2024
@billyvg
Copy link
Member

billyvg commented Jan 23, 2024

Moving into this UI project as there's nothing to do for SDK right now. Feedback events are already sending scope data.

@jas-kas
Copy link
Member

jas-kas commented Jan 29, 2024

The behaviour now is that all custom tags show up in the User Feedback Details UI and you can search for them in our dedicated User Feedback view. Closing this as resolved as that serves our users' use-cases.

@jas-kas jas-kas closed this as completed Jan 29, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Feb 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Archived in project
Development

No branches or pull requests

6 participants