You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/07/17 00:50:43 UTC

[GitHub] [incubator-superset] bryanck opened a new issue #10349: Applying a filter and then switching tab on a dashboard results in blank a table chart

bryanck opened a new issue #10349:
URL: https://github.com/apache/incubator-superset/issues/10349


   If you have a dashboard with tabs, a filter box on the first tab and a table chart on a different tab, when you apply a filter then switch tabs, the table chart will be a blank box. This also affects the world map chart
   
   ### Expected results
   
   The table chart should render the data as expected.
   
   ### Actual results
   
   The table is a blank box. If you force refresh the chart from the ellipsis menu, then it will render. Also, if you resize the browser window, it will render.
   
   #### Screenshots
   
   ![Screen Shot 2020-07-16 at 5 45 14 PM](https://user-images.githubusercontent.com/5475421/87736169-52663400-c78c-11ea-98d8-51578a2645f0.png)
   ![Screen Shot 2020-07-16 at 5 45 22 PM](https://user-images.githubusercontent.com/5475421/87736175-55612480-c78c-11ea-87bb-740cd2827942.png)
   
   #### How to reproduce the bug
   
   1. Create a filter box chart
   2. Create a table chart using the same datasource as the filter box
   3. Create a new dashboard
   4. Place tabs at the top of the dashboard as in the screen shot, create 2 tabs
   5. On the first tab, place the filter box in a row
   6. On the second tab, place the table in a row
   7. Save the dashboard
   8. Bring up the dashboard, on the first tab, select a filter and apply it
   9. Switch to the second tab. The table will be a blank box
   10. Resize the browser window and the table renders
   11. Try also with the world map chart instead of a table chart
   
   ### Environment
   
   - superset version: 0.37.0 RC2
   - python version: 3.6.10
   - node.js version: 12.14.1
   - npm version: 6.13.4
   
   ### Checklist
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [X] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [X] I have reproduced the issue with at least the latest released version of superset.
   - [X] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] villebro commented on issue #10349: Applying a filter and then switching tab on a dashboard results in blank a table chart

Posted by GitBox <gi...@apache.org>.
villebro commented on issue #10349:
URL: https://github.com/apache/incubator-superset/issues/10349#issuecomment-659856298


   Thanks for reporting! Will investigate.


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] bryanck commented on issue #10349: Applying a filter and then switching tab on a dashboard results in a blank table chart

Posted by GitBox <gi...@apache.org>.
bryanck commented on issue #10349:
URL: https://github.com/apache/incubator-superset/issues/10349#issuecomment-665164939






----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] bryanck commented on issue #10349: Applying a filter and then switching tab on a dashboard results in a blank table chart

Posted by GitBox <gi...@apache.org>.
bryanck commented on issue #10349:
URL: https://github.com/apache/incubator-superset/issues/10349#issuecomment-662544127


   Here is a video demonstrating the issue: https://drive.google.com/file/d/1bP7IwYiKABOcz4Wgljldjrl6-2eQ8Eqo/view?usp=sharing
   


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] bryanck commented on issue #10349: Applying a filter and then switching tab on a dashboard results in a blank table chart

Posted by GitBox <gi...@apache.org>.
bryanck commented on issue #10349:
URL: https://github.com/apache/incubator-superset/issues/10349#issuecomment-662557767


   Also just wanted to add that this happens in the latest versions of the 3 major browsers (Safari, Chrome, Firefox). I only tested this on a Mac.


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] villebro closed issue #10349: Applying a filter and then switching tab on a dashboard results in a blank table chart

Posted by GitBox <gi...@apache.org>.
villebro closed issue #10349:
URL: https://github.com/apache/incubator-superset/issues/10349


   


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] ktmud commented on issue #10349: Applying a filter and then switching tab on a dashboard results in a blank table chart

Posted by GitBox <gi...@apache.org>.
ktmud commented on issue #10349:
URL: https://github.com/apache/incubator-superset/issues/10349#issuecomment-665215935


   OK. So the fix doesn't completely work when table height changes. Sticky header is important to user experience, I don't think we should disable it. The problem really is with bootstrap tab switches. I'll try to look for a more robust fix soon.


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] bryanck commented on issue #10349: Applying a filter and then switching tab on a dashboard results in blank a table chart

Posted by GitBox <gi...@apache.org>.
bryanck commented on issue #10349:
URL: https://github.com/apache/incubator-superset/issues/10349#issuecomment-659762033


   Occassionally the table chart will render when you switch tabs. If it does, switch back to the first tab, change the filter, and switch back to the tab with the table. Eventually you should get the table as a blank box.


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] bryanck commented on issue #10349: Applying a filter and then switching tab on a dashboard results in a blank table chart

Posted by GitBox <gi...@apache.org>.
bryanck commented on issue #10349:
URL: https://github.com/apache/incubator-superset/issues/10349#issuecomment-660295817


   FWIW the same thing happens with the world map chart


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] villebro commented on issue #10349: Applying a filter and then switching tab on a dashboard results in a blank table chart

Posted by GitBox <gi...@apache.org>.
villebro commented on issue #10349:
URL: https://github.com/apache/incubator-superset/issues/10349#issuecomment-660296852


   @graceguo-supercat is this something you've bumped into (=charts on other tabs not rendering correctly after filter box changes)?


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] villebro commented on issue #10349: Applying a filter and then switching tab on a dashboard results in a blank table chart

Posted by GitBox <gi...@apache.org>.
villebro commented on issue #10349:
URL: https://github.com/apache/incubator-superset/issues/10349#issuecomment-660128327


   Sorry, I flagged the wrong ticket, i.e. haven't been able to investigate this yet. @ktmud Do you think this might be related to the Table Chart remake?


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] villebro commented on issue #10349: Applying a filter and then switching tab on a dashboard results in blank a table chart

Posted by GitBox <gi...@apache.org>.
villebro commented on issue #10349:
URL: https://github.com/apache/incubator-superset/issues/10349#issuecomment-659868211


   Reproduced, I think I found the problem.


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] issue-label-bot[bot] commented on issue #10349: Applying a filter and then switching tab on a dashboard results in blank a table chart

Posted by GitBox <gi...@apache.org>.
issue-label-bot[bot] commented on issue #10349:
URL: https://github.com/apache/incubator-superset/issues/10349#issuecomment-659760959


   Issue-Label Bot is automatically applying the label `#bug` to this issue, with a confidence of 0.93. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! 
   
    Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/apache/incubator-superset) and [code](https://github.com/hamelsmu/MLapp) for this bot.


----------------------------------------------------------------
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.

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


[GitHub] [incubator-superset] bryanck edited a comment on issue #10349: Applying a filter and then switching tab on a dashboard results in a blank table chart

Posted by GitBox <gi...@apache.org>.
bryanck edited a comment on issue #10349:
URL: https://github.com/apache/incubator-superset/issues/10349#issuecomment-662544127


   Here is a video demonstrating the issue: https://drive.google.com/file/d/1bP7IwYiKABOcz4Wgljldjrl6-2eQ8Eqo/view?usp=sharing
   
   The table is blank after applying a filter change. The pie chart works as expected.


----------------------------------------------------------------
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.

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