Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Sep 25, 2024
1 parent 7ce43f3 commit dd5239a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions packages/docprovider-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
"extension": true,
"outputDir": "../../projects/jupyter-docprovider/jupyter_docprovider/labextension",
"disabledExtensions": [
"@jupyterlab/application-extension:default-drive",
"@jupyterlab/filebrowser-extension:defaultFileBrowser",
"@jupyterlab/notebook-extension:cell-executor"
],
Expand Down
8 changes: 4 additions & 4 deletions packages/docprovider-extension/src/filebrowser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const yfile: JupyterFrontEndPlugin<void> = {
description:
"Plugin to register the shared model factory for the content type 'file'",
autoStart: true,
requires: [ICollaborativeDrive],
requires: [IDefaultDrive],
optional: [],
activate: (app: JupyterFrontEnd, drive: ICollaborativeDrive): void => {
const yFileFactory = () => {
Expand All @@ -112,7 +112,7 @@ export const ynotebook: JupyterFrontEndPlugin<void> = {
description:
"Plugin to register the shared model factory for the content type 'notebook'",
autoStart: true,
requires: [ICollaborativeDrive],
requires: [IDefaultDrive],
optional: [ISettingRegistry],
activate: (
app: JupyterFrontEnd,
Expand Down Expand Up @@ -159,7 +159,7 @@ export const statusBarTimeline: JupyterFrontEndPlugin<void> = {
id: '@jupyter/docprovider-extension:statusBarTimeline',
description: 'Plugin to add a timeline slider to the status bar',
autoStart: true,
requires: [IStatusBar, ICollaborativeDrive],
requires: [IStatusBar, IDefaultDrive],
activate: async (
app: JupyterFrontEnd,
statusBar: IStatusBar,
Expand Down Expand Up @@ -256,7 +256,7 @@ export const defaultFileBrowser: JupyterFrontEndPlugin<IDefaultFileBrowser> = {
id: '@jupyter/docprovider-extension:defaultFileBrowser',
description: 'The default file browser factory provider',
provides: IDefaultFileBrowser,
requires: [ICollaborativeDrive, IFileBrowserFactory],
requires: [IDefaultDrive, IFileBrowserFactory],
optional: [IRouter, JupyterFrontEnd.ITreeResolver, ILabShell, ITranslator],
activate: async (
app: JupyterFrontEnd,
Expand Down
2 changes: 1 addition & 1 deletion packages/docprovider/src/ydrive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class YDrive extends Drive implements ICollaborativeDrive {
translator?: TranslationBundle,
globalAwareness?: Awareness
) {
super({ name: 'RTC' });
super();
this._user = user;
this._trans = translator;
this._globalAwareness = globalAwareness;
Expand Down

0 comments on commit dd5239a

Please sign in to comment.