-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
deck.gl Scatterplot JAVASCRIPT TOOLTIP GENERATOR tooltip no longer working in version 1.4.0 and above #18696
Comments
I have same problem. It seems to be caused by upgrading webpack to version 5 without resolving configurations. |
Since the PR is merged and the thread has gone quiet for upward of a year, I'll optimistically mark this as closed. Happy to re-open if this is still an issue in 2.0.x |
Hello @rusackas , this IS unfortunately still an issue in 2.1.0. I get the same error. It would be great, if this could be solved. BR |
Dear @rusackas , do we have any update on this issue? Thank you! |
Nope... based on the PRs merged in this thread, I previously thought it was a solved problem. If it's an issue still, I personally think we should open up a fresh Issue including repro steps, displayed errors, and known incompatible versions. This issue is just a little unclear to me. On the other hand, this feature is questionable in terms of security - I have half a mind to deprecate it and replace it entirely with something new. If anyone has an interest in that effort, we should talk on Slack. |
Hello @rusackas , thank you for the update! I wonder if there is any way to turn the tooltip completely off? Because right now it is showing the wrong thing when hovered over the map... |
Hello @rusackas , would you be so kind and have a look at my question at stackoverflow? https://stackoverflow.com/questions/77404016/turn-off-deck-gl-tooltip-in-superset Thanks & BR |
This is still an issue in 3.0 . Really need some way to customize tooltips... |
This feature is a known XSS concern, and is likely due for deprecation, honestly. I intend to propose that for 5.0 (having missed the 4.0 proposals window). I think we should move to a different means of templatizing tooltips (e.g. handlebars/jinja) that can be applicable to more chart types, including replacing these problematic ones for DeckGL. If anyone has an interest in pursuing this SIP, please join SIP Office Hours or write one up! |
I believe (not-a-)problem here is the CSP policy from Talisman which does not allow following talisman config works:
Given the nature of this issue, it would be ideal to have an alternative way to templatize tooltips. However in some cases this could be acceptable risk where users can be trusted with customized JS, we could document it, at least until a better way is possible. |
A clear and concise description of what the bug is.
How to reproduce the bug
TEST</br>
;Expected results
Tooltip should show "TEST"
Actual results
"Unexpected error
An error occurred while rendering the visualization: Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=TypeError%3A%20r(...).runInNewContext%20is%20not%20a%20function&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
See more"
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
(please complete the following information):
superset version
python --version
node -v
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: