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

   I am working to embed the dashboard inside my angular application using 
superset SDK.
   
   After doing the whole integration the dashboard is not visible.
   
   Used this below article to integrate the dashboard.
   
https://medium.com/@khushbu.adav/embedding-superset-dashboards-in-your-react-application-7f282e3dbd88
   
   Below is my config changes apart from the default file.
   
   ```
   FEATURE_FLAGS = {"ALERT_REPORTS": True,
       "EMBEDDED_SUPERSET": True}
   ALERT_REPORTS_NOTIFICATION_DRY_RUN = True
   WEBDRIVER_BASEURL = "http://superset:8088/";
   # The base URL for the email report hyperlinks.
   WEBDRIVER_BASEURL_USER_FRIENDLY = WEBDRIVER_BASEURL
   SESSION_COOKIE_SAMESITE = None
   ENABLE_PROXY_FIX = True
   PUBLIC_ROLE_LIKE_GAMMA = True
   
   CORS_OPTIONS = {
     'supports_credentials': True,
     'allow_headers': ['*'],
     'resources':['*'],
     'origins': ['*']
   }
   GUEST_ROLE_NAME = "Admin"
   GUEST_TOKEN_JWT_EXP_SECONDS: 300  # 5 minutes, or you could set it longer
   ```
   
   I am using admin user as the default login and created custom as well as 
tried using the predefined dashboards.
   
   User list
   
![image](https://user-images.githubusercontent.com/15375292/213927597-d87372b7-32cc-4783-bd2d-f17e4fe2459e.png)
   
   Dashboard settings
   
![image](https://user-images.githubusercontent.com/15375292/213927642-951a5dc7-c747-46e1-8abf-a91ee9d41a3b.png)
   
   
   Chart Settings
   
![image](https://user-images.githubusercontent.com/15375292/213927690-b4878b5f-15e0-48d8-bcd9-40cb636633ec.png)
   
   
   My UI code.
   ```
   
   ```
   
   #### How to reproduce the bug
   
   ### Expected results
   
   Should see the dashboard on the application.
   
   ### Actual results
   Blank screen with no errors.
   
   #### Screenshot
   
![image](https://user-images.githubusercontent.com/15375292/213927835-5dce6c9b-9c2e-4f7a-a382-a82ee32bc76b.png)
   
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version: NA
   - superset version: `superset version` 
   - python version: `python --version` NA
   - node.js version: `node -v` : 16.15.0
   - any feature flags active: Yes  {"ALERT_REPORTS": True,
       "EMBEDDED_SUPERSET": True}
   
   ### Checklist
   
   Make sure to follow these steps 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.
   
   ### Additional context
   
   Add any other context about the problem here.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to