-
Notifications
You must be signed in to change notification settings - Fork 506
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
Document how to customize the Voila Preview widget shell area #1327
Conversation
@@ -193,7 +193,8 @@ const extension: JupyterFrontEndPlugin<IVoilaPreviewTracker> = { | |||
path: context.path, | |||
factory: 'Voila-preview', | |||
options: { | |||
mode: 'split-right' | |||
mode: 'split-right', | |||
type: 'Voila Preview' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: Actually need to check if the factory
is already enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If so we can update this PR to provide documentation about widget positioning.
type
option when opening the preview
Hi @jtpio, would you mind if I take over this PR? |
Thanks @trungleduc, yes feel free thanks! Happy to review afterwards. |
Failed CI test is not related. |
Thanks @trungleduc! |
References
This should help address the point mentioned in #1304 (comment).
This will also help with jupyter/notebook#6386.
Code changes
Voila Preview
for consistency with theMarkdown Preview
factory in JupyterLabUser-facing changes
End users can configure the JupyterLab layout to open the Voila preview in a different area than
main
.Backwards-incompatible changes
None