Skip to content
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

Use ExtensionApp #592

Closed

Conversation

davidbrochart
Copy link
Member

No description provided.

@Zsailer
Copy link
Member

Zsailer commented May 6, 2020

@davidbrochart Just letting you know that I subscribed to this PR. I'm happy to help at anytime (review, code, etc.). Ping me if you have any questions.

@davidbrochart
Copy link
Member Author

Thanks @Zsailer, I think I do need your help at this point. There are three failures for which you might have an idea. Also, with a general review.

{'Voila': {'open_browser': False}},
_("Don't open the notebook in a browser after startup.")
),
"standalone": (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems this disappeared, but I am not sure how we can detect if we are in 'standalone' mode, do you know?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It think this is replaced by load_other_extensions, which I set to True because of this issue: jupyter-server/jupyter_server#211

class Voila(ExtensionApp):
extension_name = 'voila'
extension_url = '/voila'
load_other_extensions = True
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this set to True? This will load jupyterlab/notebook in the future if we run voila in standalone mode, or am I misunderstanding this flag?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because of this bug: jupyter-server/jupyter_server#211
It is fixed now, but not released yet.

@maartenbreddels
Copy link
Member

Not sure how to fix the enable_nbextensions issue. Who should be responsible for this? Jupyter server?

@Zsailer
Copy link
Member

Zsailer commented May 15, 2020

Not sure how to fix the enable_nbextensions issue. Who should be responsible for this? Jupyter server?

I think this should be handled by nbclassic. nbclassic will likely need to be a dependency in Voila. It will serve notebook frontend extensions and shim notebook traits appropriately.

@smith-kyle
Copy link

Just a heads up, you can review notebook changes like this using GitNotebooks.

e.g. this pull request https://gitnotebooks.com/voila-dashboards/voila/pull/592

It's free for public repos, so might be helpful for y'all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants