-
Notifications
You must be signed in to change notification settings - Fork 21
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
Adds support for disabling extensions #90
Conversation
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.
Hey @hbcarlos here are some comments
packages/application/src/app.ts
Outdated
/** | ||
* Construct a new App object. | ||
* | ||
* @param options The instantiation options for an application. | ||
*/ | ||
constructor(options: App.IOptions = {}) { | ||
constructor(options: App.IOptions = { shell: new Shell() }) { |
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.
This is unneeded as L38 gets us covered.
constructor(options: App.IOptions = { shell: new Shell() }) { | |
constructor(options: App.IOptions = {}) { |
@@ -1,5 +1,5 @@ | |||
[build-system] | |||
requires = ["jupyter_packaging~=0.10,<2", "jupyterlab~=3.0"] | |||
requires = ["jupyter_packaging~=0.10,<2"] |
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.
🚀
packages/application/src/app.ts
Outdated
@@ -24,12 +25,14 @@ export type QuetzFrontEndPlugin<T> = IPlugin<QuetzFrontEnd, T>; | |||
* App is the main application class. It is instantiated once and shared. | |||
*/ | |||
export class App extends Application<Shell> { | |||
private _info: JupyterLab.IInfo = JupyterLab.defaultInfo; |
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.
I would not reuse JupyterLab.IInfo
as is because for now I don't see the point of having the attribute other than deferred
and disabled
.
Thanks for the review, @fcollonval! I have pushed a commit to apply the changes. |
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.
Thanks @hbcarlos
Adds support for disabling extensions.
Removes mime extensions
Pins typescript to
~4.1.3