You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "ponychicken (via GitHub)" <gi...@apache.org> on 2025/10/31 13:22:20 UTC
[I] Missing space in tooltips leads to wrong numbers number [superset]
ponychicken opened a new issue, #35928:
URL: https://github.com/apache/superset/issues/35928
### Bug description
If you do a graph where in the tooltip a value is being reported there is now space before the value.
In the screenshot its should be count: 5, 0.4% but what the users sees is count50.4%
### Screenshots/recordings
<img width="326" height="137" alt="Image" src="https://github.com/user-attachments/assets/26217fa7-f2ef-4093-8833-0cca653c329b" />
### Superset version
master / latest-dev
### Python version
3.9
### Node version
16
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [ ] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [ ] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Missing space in tooltips leads to wrong numbers number [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #35928:
URL: https://github.com/apache/superset/issues/35928#issuecomment-3473093565
<!-- Greeting -->
Hi @ponychicken! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team.
<!-- Answer -->
This is a known regression in Superset, caused by a frontend XSS filter that stripped whitespace and styles from tooltip HTML, leading to concatenated text like `count50.4%`. The issue affects multiple chart types and is tracked in several issues ([#33865](https://github.com/apache/superset/issues/33865), [#33913](https://github.com/apache/superset/issues/33913), [#34030](https://github.com/apache/superset/issues/34030), [#34198](https://github.com/apache/superset/issues/34198), [#35120](https://github.com/apache/superset/issues/35120), [#35719](https://github.com/apache/superset/issues/35719)). A fix was merged in [PR #34018](https://github.com/apache/superset/pull/34018) and is present on the master branch, restoring proper tooltip formatting and spacing by updating the XSS filter to allow style attributes on table elements and preserving whitespace [ref](https://github.com/apache/superset/issues/34198).
If you are still seeing this issue on master, try a hard refresh or clear your frontend build cache. For older versions, a temporary workaround is to add custom CSS like `table * { padding: 5px; }` to your dashboard, or to customize the tooltip formatter in the relevant chart's `transformProps.ts` file to add explicit spaces or punctuation between values [ref](https://github.com/apache/superset/issues/33913).
You can track progress and technical details in the linked issues and PR.
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do? [Good](https://app.dosu.dev/response-feedback/c28901da-d733-49e5-8cc4-4849009f7ab9?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/c28901da-d733-49e5-8cc4-4849009f7ab9?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/c28901da-d733-49e5-8cc4-4849009f7ab9?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/c28901da-d733-49e5-8cc4-4849009f7ab9?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c28901da-d733-49e5-8cc4-4849009f7ab9?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/c28901da-d733-49e5-8cc4-4849009f7ab9?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/c28901da-d733-49e5-8cc4-4849009f7ab9?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35928)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Missing space in tooltips leads to wrong numbers number [superset]
Posted by "ponychicken (via GitHub)" <gi...@apache.org>.
ponychicken closed issue #35928: Missing space in tooltips leads to wrong numbers number
URL: https://github.com/apache/superset/issues/35928
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Missing space in tooltips leads to wrong numbers number [superset]
Posted by "ponychicken (via GitHub)" <gi...@apache.org>.
ponychicken commented on issue #35928:
URL: https://github.com/apache/superset/issues/35928#issuecomment-3473263759
ok literally first time a bot was helpful!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org