Eric Charles

Results 535 comments of Eric Charles

... or only specific aspects of the serviceManager could be provided (content, kernel(specs)...), see the current definition of a serviceManager. This would allow to create a more composable Jupyter Context...

We have an example for bqplot https://github.com/datalayer/jupyter-ui/blob/main/packages/react/src/examples/Bqplot.tsx > How to check which js packages should be loaded for the notebook before rendering the notebook? IPyWidgets need python (server side) and...

With JupyerLab, the extensions are installed via python and discovered dynamically via a jupyterlab endpoint. Then each ipywidgets registers itself to the ipywidgetmanager We may get inspiration from that mecanism....

@pplonski https://github.com/datalayer/jupyter-ui/commit/86ad858eab9c42c1b0bd8ffd1870aeb5c5b7739e implements this featuire. For the Notebook, you don't need to declare the javascript ipywdigets. They will be automatically fetched based on the requested python ipywidgets 🎉

@pplonski You can try that feature on this storybook page https://jupyter-ui-storybook.datalayer.tech/?path=/story/components-notebook--playground The python package needs to be present on kernel start, so if you pip install a ipywidgets python package,...

Thank you so much @pplonski for testing 🙏. I have tried that outside of Storybook and moving cells around keep the slider ipywidgets. [Screencast from 02-01-24 11:20:20.webm](https://github.com/datalayer/jupyter-ui/assets/226720/f6d0be11-129d-4328-a59e-56cf98b26baf) I had to...

> instead of showing the log that user should restart a kernel, it should be automatically restarted. Is it possible? That behavior is the standard jupyterlab behavior. The intent of...

> there should be a separate UI for managing the environment. Makes a lot of sense. That is something we are working on in private for now as part of...

Hi @ajwilkinson We should remove completely those externalIPyWidgets props from the code base. They are not used anymore. The missing ipywidgets are now automatically fetched, no need to declare them.

FWIW I had create long time ago a js script to extract the CSS from jupyterlab https://github.com/datalayer/jupyter-ui/blob/main/packages/theme/dev/css.js That `theme` folder should be remove/overridden by the work. Still are you aiming...