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 2023/01/17 12:28:49 UTC

[GitHub] [superset] topratiksharma opened a new issue, #22754: Issue while embedding in Angular using embedded-sdk

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

   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   
   1.) Install embedded sdk in your Angular application.
   
   2.) Embed() {
       // const token = await this.fetchGuestTokenFromBackend();
       embedDashboard({
         id: 'my dashboard token', // given by the Superset embedding UI
         supersetDomain: 'http://localhost:8088', // my localhost
         mountPoint: document.getElementById('my-dashboard'), // any html element that can contain an iframe
         fetchGuestToken: () => this.fetchGuestTokenFromBackend(),
         dashboardUiConfig: {
           // dashboard UI config: hideTitle, hideTab, hideChartControls, filters.visible, filters.expa0nded (optional)
           hideTitle: true,
           // filters: { expanded: true },
         },
       });
     }
   
   3. See error
   
   ### Expected results
   Embedding should work
   
   ### Actual results
   Module not found: Error: Can't resolve '@superset-ui/switchboard' in 'D:\test\node_modules\@superset-ui\embedded-sdk\lib'
   
   #### Screenshots
   
   ![image](https://user-images.githubusercontent.com/15375292/212898785-7620951f-94e5-403b-acf2-f23e476d8ca0.png)
   
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version: Chrome
   - superset version: `superset version` -     "@superset-ui/embedded-sdk": "0.1.0-alpha.7",
   - python version: `python --version` NOT USED
   - node.js version: `node -v` : V16.10.0
   - any feature flags active: none
   
   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: 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] embedded-sdk Issue while integrating it with Angular [superset]

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

   Closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still encountering this in current versions (currently 3.x) please re-open this issue, open a new Issue with updated context, or raise a PR to address the problem. Thanks!
   


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


[GitHub] [superset] rusackas commented on issue #22754: embedded-sdk Issue while integrating it with Angular

Posted by GitBox <gi...@apache.org>.
rusackas commented on issue #22754:
URL: https://github.com/apache/superset/issues/22754#issuecomment-1385796351

   Looks like a duplicate of https://github.com/apache/superset/issues/22747 but I appreciate the additional context.


-- 
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] embedded-sdk Issue while integrating it with Angular [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #22754:  embedded-sdk Issue while integrating it with Angular
URL: https://github.com/apache/superset/issues/22754


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