removed enableGalleryPublish, enableLinkInjection feature flags (#454)

* removed enableGalleryPublish, enableLinkInjection

* removed ENABLE_GALLERY_PUBLISH
This commit is contained in:
Srinath Narayanan
2021-02-26 13:07:44 -08:00
committed by GitHub
parent 3cc1945140
commit cf01ffa957
20 changed files with 163 additions and 130 deletions

View File

@@ -87,9 +87,7 @@ export default class NotebookManager {
this.notebookContentProvider
);
if (this.params.container.isGalleryPublishEnabled()) {
this.publishNotebookPaneAdapter = new PublishNotebookPaneAdapter(this.params.container, this.junoClient);
}
this.publishNotebookPaneAdapter = new PublishNotebookPaneAdapter(this.params.container, this.junoClient);
this.copyNotebookPaneAdapter = new CopyNotebookPaneAdapter(
this.params.container,
@@ -125,10 +123,9 @@ export default class NotebookManager {
public async openPublishNotebookPane(
name: string,
content: string | ImmutableNotebook,
parentDomElement: HTMLElement,
isLinkInjectionEnabled: boolean
parentDomElement: HTMLElement
): Promise<void> {
await this.publishNotebookPaneAdapter.open(name, getFullName(), content, parentDomElement, isLinkInjectionEnabled);
await this.publishNotebookPaneAdapter.open(name, getFullName(), content, parentDomElement);
}
public openCopyNotebookPane(name: string, content: string): void {