-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Remove the source maps wizard for react-native projects #87702
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
Conversation
The source maps wizard is designed for JavaScript projects. it cannot help developers working with react-native This PR extends the logic to detect if it is a react-native project and rmeove the wizard on that condition. We should improve the modal to better handle projects but that is another issue.
remove some repetitive text, add link to RN source maps docs to top. Since it's kinda hidden below.
next we should add context to that page, especially for the empty state, which is most likely for users in this flow
❌ 1 Tests Failed:
View the top 1 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
static/app/components/events/interfaces/sourceMapsDebuggerModal.tsx
Outdated
Show resolved
Hide resolved
static/app/components/events/interfaces/sourceMapsDebuggerModal.tsx
Outdated
Show resolved
Hide resolved
…l.tsx Co-authored-by: Priscila Oliveira <[email protected]>
…l.tsx Co-authored-by: Priscila Oliveira <[email protected]>
added empty state and empty search state, which includes links to react-native source maps docs, and example scripts of what the developers need to do to ensure they're uploading source maps for Android and iOS builds
to={ | ||
projectSlug | ||
? `/settings/projects/${projectSlug}/source-maps/?query=${debugId}` | ||
: `/settings/projects/:projectId/source-maps/?query=${debugId}` |
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.
does this work? I have never written a link this way
static/app/components/events/interfaces/sourceMapsDebuggerModal.tsx
Outdated
Show resolved
Hide resolved
{tct('You did not upload any artifacts with debug IDs yet.', { | ||
link: <ExternalLinkWithIcon href={sourceMapsDocLinks.sourcemaps} />, | ||
})} |
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.
same here. Also if we are going to repeat this multiple times, maybe it is worth creating a reusable component
{isReactNativeSDK({sdkName: sourceResolutionResults.sdkName}) && ( | ||
<p> | ||
{tct( | ||
'Check your [link:source maps uploads] for the missing source maps for debug ID: [debugId]. You should have source maps for both Android and iOS builds.', |
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.
should we always have Debug IDs capitalized?
Co-authored-by: Priscila Oliveira <[email protected]>
Co-authored-by: Priscila Oliveira <[email protected]>
…l.tsx Co-authored-by: Priscila Oliveira <[email protected]>
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you remove the label "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you remove the label "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
This is a great improvement of the UX when source maps are missing for RN project, what is blocking the merge? |
@krystofwoldrich, this has already been implemented (see below), so this PR can likely be closed. However, I didn’t want to close it myself and was waiting for either Steven or the bot to take care of that Screen.Recording.2025-07-04.at.07.40.30.mov |
@priscilawebdev Thank you, I see. |
oh i didn't realize those changes were shipped and correct 😅 i can't confirm the accuracy of the RN scrips but i will close |
Description
The source maps wizard is designed for JavaScript projects. it cannot help developers working with react-native
Updated the Source Maps Uploaded page:
Screenshots
updated modal:
empty state:
empty search state: