-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
fix(issues/replay): if fetchError, don't render replayId in highlights #76619
Conversation
static/app/components/events/highlights/highlightsDataSection.tsx
Outdated
Show resolved
Hide resolved
static/app/components/events/highlights/highlightsDataSection.tsx
Outdated
Show resolved
Hide resolved
8757c08
to
052f806
Compare
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.
Thanks for doing this! Even if it was only for a portion of users I think this makes a better experience 👍
@@ -198,13 +198,19 @@ const mockGroupApis = ( | |||
project: Project, | |||
group: Group, | |||
event: Event, | |||
replayId: string | undefined, |
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.
nit: Could we make this optional instead of explicitly undefined
? That way you don't have to add undefined
to all the callers, only when you want to specify the trace I guess.
replayId?: string;
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.
yup updated!
redo of #76316:
instead of completely removing the replay ID from the event highlights, we now do an extra check to see if there was a
fetchError
with this replay ID (e.g. whether this ID is actually valid or not). if it's not valid, then don't render the replay ID to avoid linking to an invalid replay. the link will take you to a page like this:before: issue details replay processing error (blue banner shows up) but the event highlights still contains the replay ID
after: replayId is shown as
--
and no link