-
Notifications
You must be signed in to change notification settings - Fork 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
New Messaging for Tool Form Modal Errors #19562
base: dev
Are you sure you want to change the base?
New Messaging for Tool Form Modal Errors #19562
Conversation
Added clarity for errors before Job ID or Dataset ID creation: * Componentized for: default (ErrorPlugin) or third-party (Sentry) * Extensible for future user error-tracking (Event-ID) information Reported by @hexylena in issue galaxyproject#17560
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.
Remember you can run make client-format
to fix all the formatting issues.
const errorReportingAvailable = computed(() =>{ | ||
const Galaxy = getGalaxyInstance(); | ||
if (!!Galaxy.Sentry.isInitialized) { | ||
return "Your error has been logged in Sentry to improve your experience."; |
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.
I wouldn't explicitly mention Sentry, users may not know what it is. Maybe something like:
return "Your error has been logged in Sentry to improve your experience."; | |
return "The error has been logged in our issue tracker system, and our team is investigating to fix it as soon as possible."; |
Or something similar :)
Users don't know what Sentry is, and this is also not logged to Sentry at all, as it is not a bug but a response to a user action that isn't possible. All the actionable information is in the message, but it could be explained better. My suggestion
was to create a component that can expand on the error message by explaining what The link with Sentry is for when there is actually a bug (a.k.a unhandled exception), for that you'd have to augment the backend response with the backend's sentry clients |
const errorReportingAvailable = computed(() =>{ | ||
const Galaxy = getGalaxyInstance(); | ||
if (!!Galaxy.Sentry.isInitialized) { |
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.
This just means we have a sentry client that is able to submit client errors, but that doesn't mean entirely expected things like this error are captured in sentry.
Your error has been logged in Sentry to improve your experience.
Added clarity for errors before Job ID or Dataset ID creation:
Reported by @hexylena in issue
#17560
How to test the changes?
(Select all options that apply)
License