Skip to content

Conversation

@mydea
Copy link
Member

@mydea mydea commented Mar 30, 2023

Pulled out the frontend changes from #46447.

  • Enforce that when performance or replay is enabled, we use SDK v7. This is also enforced UI-side now:

image

When you switch your SDK version to <7, it automatically removes performance & tracing. This should ensure we do not get into a weird state.

  • When Replay is enabled, we show a message that this will result in the ES6 bundle:

image

ref #46436

@mydea mydea self-assigned this Mar 30, 2023
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 30, 2023
@priscilawebdev
Copy link
Member

shouldn't the SDK loader automatically be updated if the user selects Replay?

Screen.Recording.2023-04-04.at.15.16.50.mov

Copy link
Member

@priscilawebdev priscilawebdev left a comment

Choose a reason for hiding this comment

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

left a question but it looks good to me 😉

@mydea
Copy link
Member Author

mydea commented Apr 4, 2023

shouldn't the SDK loader automatically be updated if the user selects Replay?

You mean the URL? The url always remains the same, only the code that is served by it changes in the background :)

@priscilawebdev
Copy link
Member

I mean the SDK version in the drop-down

@mydea
Copy link
Member Author

mydea commented Apr 5, 2023

I mean the SDK version in the drop-down

Ah, I see! Well the way it works is that it untoggles replay if you select an older SDK version:

Screen.Recording.2023-04-05.at.10.37.47.mov

@mydea mydea merged commit 14683f8 into master Apr 5, 2023
@mydea mydea deleted the fn/sentry-loader-ui branch April 5, 2023 12:35
@github-actions github-actions bot locked and limited conversation to collaborators Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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