Skip to content

Conversation

jtpio
Copy link
Member

@jtpio jtpio commented Sep 6, 2021

References

Fixes #931 (comment)

Code changes

Add allow-popups and allow-modals to the JupyterLab Preview IFrame sandbox.

User-facing changes

Users can display popups in the JupyterLab preview.

Backwards-incompatible changes

None

@jtpio jtpio added the enhancement New feature or request label Sep 6, 2021
@jtpio jtpio added this to the 0.2.x milestone Sep 6, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2021

Binder 👈 Try it on binder (branch jtpio/voila/allow-popups)

@jtpio jtpio added the jupyterlab-preview JupyterLab Preview Extension label Sep 6, 2021
@jtpio
Copy link
Member Author

jtpio commented Sep 6, 2021

cc @gunstonej would you like to test this change on the Binder preview?

https://mybinder.org/v2/gh/jtpio/voila/allow-popups?urlpath=lab

popups-preview.mp4

@jgunstone
Copy link

cc @gunstonej would you like to test this change on the Binder preview?

@jtpio - just checked it and looks good 👍 - thanks very much!

@jtpio jtpio marked this pull request as ready for review September 6, 2021 12:20
@jtpio
Copy link
Member Author

jtpio commented Sep 6, 2021

Great, thanks for trying it out 👍

I think we can get this change in the preview extension so it matches the behavior when rendered in Voila directly.

@jtpio jtpio changed the title Add allow-popups to the preview sandbox Add allow-popups and allow-modals to the preview sandbox Sep 6, 2021
@jtpio jtpio merged commit 19db7ba into voila-dashboards:master Sep 6, 2021
@jtpio jtpio deleted the allow-popups branch September 6, 2021 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request jupyterlab-preview JupyterLab Preview Extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants