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

chore(issue-details): Show replay section off replay_id #84393

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

roggenkemper
Copy link
Member

this pr updates the issue details page to show the replay section off the replay_id instead of the config. the config is still used in a few other places so it isn't being removed, but EventReplay already checks for the replay_id which is what we want to use to determine if we show replays

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 31, 2025
@roggenkemper roggenkemper marked this pull request as ready for review January 31, 2025 22:16
@roggenkemper roggenkemper requested a review from a team as a code owner January 31, 2025 22:16
Copy link
Member

@mrduncan mrduncan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely doesn't need to be a part of this PR at all but worth checking if we can remove replays.enabled from the issue type config now too

@@ -372,9 +372,7 @@ export function EventDetailsContent({
</Fragment>
)}
<EventHydrationDiff event={event} group={group} />
{issueTypeConfig.replays.enabled && (
Copy link
Member

@scttcper scttcper Jan 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we remove the issueTypeConfig.replays.enabled yet?

@roggenkemper
Copy link
Member Author

@scttcper as of now, we still use it to determine if we show the replays tab/section and for showing the replay count on the stream, so we can't delete it just yet

@roggenkemper roggenkemper merged commit b1f749f into master Jan 31, 2025
44 checks passed
@roggenkemper roggenkemper deleted the roggenkemper/showreplaybasedoffid branch January 31, 2025 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants