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

fix(insights): Don't reset new insight when recording opened 2.0 #21449

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

Twixes
Copy link
Member

@Twixes Twixes commented Apr 9, 2024

Problem

Second attempt at #21424 (CC @webjunkie):

Screen.Recording.2024-04-09.at.09.39.07.mov

Reported in ZEN-12286 (issue #1).

Changes

Previously I tried to fix this by updating insightSceneLogic URL handling, but in principle the existing handling is so much more correct than not, that I don't that's what needs to change. It's sessionPlayerModalLogic.ts that really is the offender. It pushes the sessionRecordingId change as a new browsing history item, and I think it shouldn't be doing that.

The problem from the recording above no longer occurs.

@Twixes Twixes requested a review from daibhin April 9, 2024 18:09
@Twixes Twixes changed the title fix(insights): Don't reset new insight when recording opened fix(insights): Don't reset new insight when recording opened 2.0 Apr 9, 2024
Copy link
Contributor

github-actions bot commented Apr 9, 2024

Size Change: 0 B

Total Size: 845 kB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 845 kB

compressed-size-action

@Twixes
Copy link
Member Author

Twixes commented Apr 10, 2024

Bump @daibhin

@daibhin
Copy link
Contributor

daibhin commented Apr 11, 2024

@Twixes sorry, I've been swamped with support and interviews the last couple of days. On my list to look at this today - thanks for the prompt

Copy link
Contributor

@daibhin daibhin left a comment

Choose a reason for hiding this comment

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

Funnily enough I tested this and it looks like navigating backwards changes the URL but doesn't even close the player modal. Haven't found anything else affected by this so happy to go with it

@Twixes Twixes merged commit 7276e4d into master Apr 16, 2024
106 checks passed
@Twixes Twixes deleted the fix-new-insight-recording-reset-alt branch April 16, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants