-
Notifications
You must be signed in to change notification settings - Fork 503
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
Remove use of react-dimensions
package in ScatterPlot component
#1223
Remove use of react-dimensions
package in ScatterPlot component
#1223
Conversation
This package is abandoned and doesn't play well with Vite, because one of its dependencies uses `this` to access the global context in a way that apparently fails in a module context. Replace this dependency with a simple hooks-based implementation. Signed-off-by: Máté Szabó <mszabo@fandom.com>
81aa05a
to
377a7c7
Compare
Codecov ReportBase: 95.44% // Head: 95.35% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1223 +/- ##
==========================================
- Coverage 95.44% 95.35% -0.09%
==========================================
Files 243 243
Lines 7570 7582 +12
Branches 1898 1901 +3
==========================================
+ Hits 7225 7230 +5
- Misses 345 352 +7
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
could you please describe how this was tested (screenshots?)
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.
Thanks!
…egertracing#1223) ## Which problem is this PR solving? - Split from jaegertracing#1212 ## Short description of the changes This package is abandoned and doesn't play well with Vite, because one of its dependencies uses `this` to access the global context in a way that apparently fails in a module context. Replace this dependency with a simple hooks-based implementation. Signed-off-by: Máté Szabó <mszabo@fandom.com>
Which problem is this PR solving?
Short description of the changes
This package is abandoned and doesn't play well with Vite, because one of its dependencies uses
this
to access the global context in a way that apparently fails in a module context. Replace this dependency with a simple hooks-based implementation.