-
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
[chart]Pivot Table Rendering Superset 1.0 #12681
Comments
Thank you Lilila for reporting the issue, we confirm that it has been resolved in latest master by #12564 and apache-superset/superset-ui#880. we tagged the fix |
Dear @junlincc , I pulled the 1.0.1 version and I still have empty cells where I should see images in Pivot Table. Do you have any suggestion? |
Hi Lise, sorry we misunderstood the issue. the PR i mentioned didn't cover this case🤦🏾♀️. we are looking into it and will push a fix soon! I apologize. @lilila |
Hi @lilila thanks for raising this. To display text with links would be bit difficult to handle as it will require html parsing and finding correct text inside and setting it seperately along with innerHtml property.
|
@junlincc what do you think? |
My guess is, without As this hack (manual modification of If we want to properly support rendering (limited) HTML in Pivot Table cells, we should start thinking of migrating it to the new API or at least move the HTML rendering to the front-end. |
@ktmud I did actually test this with |
I guess one downside is if the fix is not clean, more hacks would mean more future maintenance cost and wasted work (especially if we are rewriting this soon anyway). Luckily, a complete fix seems to be fairly direct in this case: apache-superset/superset-ui#954 (comment) So I'm OK with pushing this forward. |
I have an issue with pivot table I didn't have using version 0.38.
I use to display links (either links or images) in table cells. It always worked in simple Table and it is still working.
With the previous version of superset I was able to display images as well within Pivot Table (it was necessary to add
escape = False
in df.to_html() in superset/viz.py)With the current version (1.0) if if print what is returned in viz.py I have :
If I look at what is rendered in the chart, I have the following
The text was updated successfully, but these errors were encountered: