-
-
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
feat: Add Spotlight #60523
feat: Add Spotlight #60523
Conversation
🚨 Warning: This pull request contains Frontend and Backend changes! It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently. Have questions? Please ask in the |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #60523 +/- ##
==========================================
- Coverage 81.08% 81.08% -0.01%
==========================================
Files 5186 5188 +2
Lines 227811 227974 +163
Branches 38221 38247 +26
==========================================
+ Hits 184726 184847 +121
- Misses 37459 37502 +43
+ Partials 5626 5625 -1
|
Co-authored-by: Abhijeet Prasad <aprasad@sentry.io>
I still can find spotlight in the prod build cc @AbhiPrasad :( |
Yeah this makes sense actually because of the you'll have to do if (process.env.NODE_ENV !== 'production') {
if (sentryConfig.environment === 'development) {
Spotlight.init();
}
} |
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.
if postcss, tailwind, etc are only used to build the package they should be moved to devDependencies and react 18 should be a peer dependency. if possible react-router-dom should be removed as well since we're not on v6
Before we merge lets answer why we need ANY deps to load Spotlight. My expectation is its ENTIRELY isolated, just like the CSS is, and should have zero conflicts. Its ok to load a 2mb local JS package... |
@scttcper Thank you! The dependency problem has been resolved |
@AbhiPrasad this worked! |
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.
lookin good 👍
reverting: broke the build
|
PR reverted: 40da94a |
This reverts commit dba826f. Co-authored-by: asottile-sentry <103459774+asottile-sentry@users.noreply.github.com>
Adds Spotlight to local Sentry
Google.Chrome.mp4