You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "natwar585 (via GitHub)" <gi...@apache.org> on 2025/01/03 09:00:58 UTC

[I] Issue with Inconsistent Rendering of Superset Dashboard in Angular Application [superset]

natwar585 opened a new issue, #31694:
URL: https://github.com/apache/superset/issues/31694

   ### Bug description
   
   I am currently working on embedding a chart from Apache Superset into an Angular application. The chart displays correctly within Superset itself, but when I try to display it in my Angular app, it does not render as expected.
   
   Here are some details about the issue:
   
   The chart shows up fine when accessed directly in Superset.  but i try my angular app then Some charts and tables load fine, but others fail to render
   
   I have attached images showing the Superset dashboard and the Angular app dashboard for reference. The issue is visible in the Angular app, where certain elements do not render 
   
   ### Screenshots/recordings
   
   ![Screenshot from 2025-01-03 14-28-37](https://github.com/user-attachments/assets/aadfeb9d-968f-4d64-8096-242f4ba9aa6e)
   ![Screenshot from 2025-01-03 12-53-18](https://github.com/user-attachments/assets/b747b4e1-bee4-46fe-8d2e-a0af3dd6cd61)
   
   
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug report.
   - [X] 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] Issue with Inconsistent Rendering of Superset Dashboard in Angular Application [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #31694:
URL: https://github.com/apache/superset/issues/31694#issuecomment-2852510632

   We never heard anything back about the errors at hand, so I'll close this as stale/inactive/inactionable. Happy to revisit if we can get more details. 


-- 
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] Issue with Inconsistent Rendering of Superset Dashboard in Angular Application [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #31694: Issue with Inconsistent Rendering of Superset Dashboard in Angular Application
URL: https://github.com/apache/superset/issues/31694


-- 
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] Issue with Inconsistent Rendering of Superset Dashboard in Angular Application [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #31694:
URL: https://github.com/apache/superset/issues/31694#issuecomment-2569816443

   It might be helpful to provide the errors that it links to (also available in the browser's JS console) though we'll _probably_ have trouble supporting an Angular app we have no insight/access to.


-- 
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] Issue with Inconsistent Rendering of Superset Dashboard in Angular Application [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #31694:
URL: https://github.com/apache/superset/issues/31694#issuecomment-2568888150

   <!-- Greeting -->
   Hey there, @natwar585! I'm here to help you with any bugs, questions, or contributions while you wait for a human maintainer. Let's squash those bugs together! 🤖
   
   <!-- Answer -->
   I found a similar closed issue regarding chart loading problems when embedding Superset charts in an HTML iframe, but no solution was found in the comments <sup>[[1]](https://github.com/apache/superset/issues/15529)</sup>.
   
   For your issue with inconsistent rendering in an Angular application, ensure that the `EMBEDDABLE_CHARTS` configuration is set to `True` in your Superset configuration. Additionally, configure CORS by setting `ENABLE_CORS` to `True` and specifying `CORS_OPTIONS` in your `superset_config.py` file. You may also need to adjust the content security policy (CSP) using `flask-talisman` to allow your domain to display Superset content <sup>[[2]](https://github.com/apache/superset/blob/master/superset/config.py)</sup><sup>[[3]](https://github.com/apache/superset/blob/master/docs/docs/configuration/networking-settings.mdx)</sup>.
   
   If you encounter specific error messages, you might want to check for common exceptions like `SupersetVizException`, `NoDataException`, or `SupersetSyntaxErrorException`, which can provide more insight into the rendering issues <sup>[[4]](https://github.com/apache/superset/blob/master/superset/exceptions.py)</sup>.
   
   Adjusting the logging settings to `DEBUG` mode can also help you gather more detailed information for debugging <sup>[[2]](https://github.com/apache/superset/blob/master/superset/config.py)</sup><sup>[[5]](https://github.com/apache/superset/blob/master/superset/utils/logging_configurator.py)</sup>.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/8c20f1fe-11a0-4c3b-8e91-1be583609810?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/8c20f1fe-11a0-4c3b-8e91-1be583609810?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/8c20f1fe-11a0-4c3b-8e91-1be583609810?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/8c20f1fe-11a0-4c3b-8e91-1be583609810?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/8c20f1fe-11a0-4c3b-8e91-1be583609810?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/8c20f1fe-11a0-4c3b-8e91-1be583609810?feedback_type=other)</sup>
   


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