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 2019/07/19 13:04:41 UTC

[GitHub] [incubator-superset] andreaslordos edited a comment on issue #6235: Make VizTypeControl use metadata from plugin

andreaslordos edited a comment on issue #6235: Make VizTypeControl use metadata from plugin
URL: https://github.com/apache/incubator-superset/pull/6235#issuecomment-513172230
 
 
   If I wrote a new plugin in my local clone of the of [superset-ui-plugins repository](https://github.com/apache-superset/superset-ui-plugins), how do I include the metadata (specified in index.js of the plugin folder) in ChartMetadataRegistry? 
   
   Is it automatically included once configured & registered in MainPreset.js?
   
   Edit:
   Nevermind, just figured it out. Essentially use [this method](https://stackoverflow.com/a/46007168) while in superset/assets to install your plugin as an npm package. 
   
   For example (run this from superset/assets):
   
   `sudo npm install --save file:../../../../superset-ui-plugins/packages/[your plugin folder]`

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


With regards,
Apache Git Services

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