Steve Purves

Results 140 comments of Steve Purves

Thanks for the comment @chrisjsewell. So calling `thebelab.restartAndRunAll()` once there is a kernel available will trigger a run of all the cells on the page. Currently, this is accessible to...

yeah, ok. I just caught up with you ![image](https://user-images.githubusercontent.com/1473646/135920816-8f0788d3-9990-46ec-bf5b-9cebee50e393.png) We can do something on this for sure -- between here and sphinx-thebe 👍

Alternatively if you are able to add a button yourself in javascript, then making this call will execute all the cells without the kernel restart. `window.thebe.cells.map((idx, { execute }) =>...

This enhancement is best tracked here: https://github.com/executablebooks/sphinx-thebe/issues/50

@psychemedia the jupyterlite part is really only concerned with execution but persisting back to browser storage in thebe is possible anyways - it'll be a good enhancement to make once...

Should we rename this issue or open another one, specifically around the configuration option (or something like it) suggested by @Miniland1333 where we can run in a safe mode where,...

ah... looking at `thebe-core` there are no direct `.css` imports into `.ts` files. We bundle all the *direct* CSS dependencies into a single `.css` file. I don't think that could...

one other thing is the `thebe-core` package.json file ![image](https://user-images.githubusercontent.com/1473646/212304775-d5c78f65-0e4d-459b-b699-1d2ee62acaab.png) the bundled lib is not mentioned there, and `main` points to the `cjs` -- so maybe that means even dynamic import...

@kurshakuz I don't know if you got any further? I've just pushed some react providers and components (in an initial form, still actively working on these) to https://github.com/executablebooks/thebe/tree/main/packages/react in case...

Solution for this is in an upstream PR https://github.com/jupyterlite/jupyterlite/pull/900