jupyter-cde-plugin
Usage
<script
src="https://unpkg.com/@cognitive-class/jupyterlab-cde-plugin@0.1.0/standalone/jupyterlab-cde-plugin.js"
crossorigin="anonymous"
></script>
<button type="button" onclick="event.stopPropagation(); window.jupyterlabCDEPlugin.openSourceManager()">
Open CDE Source Manager
</button>
<div id="jupyterlab-cde-plugin"></div>
How to test locally
npm i -g serve
yarn
yarn watch:standalone
serve standalone
Then you have to edit https://github.ibm.com/cognitive-class-labs/jupyterlab-extensions/blob/bb4ee0a0dbf58c3af96cd35c9eb58a7b397ccfc4/cognos-dashboard/src/editor.ts#L50
Change CDN link from https://unpkg.com/...
to http://localhost:5000/jupyterlab-cde-plugin.js
Author
- Cognivie Class, IBM Digital Business Group