-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Equivalent of the "Voila preview extension" for Voici #88
Comments
Thank you for opening an issue. Do you mean you are requesting being able to use the voila preview extension inside the JupyterLite lab UI? |
Yes that is exactly right, but I am also open to other suggestions. There might already be a better pattern than the one I described. |
Unfortunately this will be tricky to implement as of today. Currently, Voici works by pre-rendering the dashboard template prior to serving the webpage. In order to implement the preview extension (and some equivalent of the voila server extension), we would need Voici to render the template on the fly in the webpage. So we would need to either run Jinja/nbconvert in WASM Python, or we would need to implement a lighter equivalent (https://github.com/mitsuhiko/minijinja compiled to WASM?). We could mimick the server extension by having a worker lying around ready to render templates upon request. I would love to see something like that happen. |
Actually, we can make a new extension that works with the |
Indeed, that would be another step in the direction of not supporting the Jinja templates and nbconvert... Still don't know how I feel about this. |
Problem
I have now spent some time developing a voici dashboard and my process looks like:
Proposed Solution
It would be great to use the voila extension in jupyterlite to render voici.
Additional context
This might be related to #19
The text was updated successfully, but these errors were encountered: