joaomg opened a new issue #5047: Request for guidance
URL: https://github.com/apache/incubator-superset/issues/5047
 
 
   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 any
   - [ ] 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
   
   
   ### Superset version
   Superset 0.23.0dev
   
   ### Expected results
   I'd like to reuse the controls, React components, inside a visualization.
   I'm using a custom made visualization in my local repo.
   I want to add further interaction with the user inside the slice component.
   My visualization is implemented, as expected, in distinct files: graph.js, 
graph.css. 
   It's being called with the result data as it's supposed. 
   
   import './graph.css';
   ...
   function graphVis(slice, payload) {
   ...
   };
   module.exports = graphVis;
   
   Now, somewhere inside the graphVis function I'd like to add Superset 
controls, namely VirtualizedSelect as a child of the slice.container 
(slice.containerId).
   I'm aware this is a bit unusual, but it's a requirement for my project.
   I'd appreciate any hints on how to make this work.
   
   ### Actual results
   N/A
   
   ### Steps to reproduce
   N/A
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to