Skip to content

Commit

Permalink
fix(core): make libro model in libro view is observable
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshinesmilelk authored and october-rain committed Aug 13, 2024
1 parent 0c91945 commit 106bc9a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .changeset/rare-teachers-protect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
"@difizen/libro-jupyter": patch
"@difizen/libro-core": patch
"@difizen/libro-docs": patch
"@difizen/libro-code-cell": patch
"@difizen/libro-code-editor": patch
"@difizen/libro-codemirror": patch
"@difizen/libro-cofine-editor": patch
"@difizen/libro-cofine-editor-contribution": patch
"@difizen/libro-cofine-editor-core": patch
"@difizen/libro-cofine-textmate": patch
"@difizen/libro-common": patch
"@difizen/libro-kernel": patch
"@difizen/libro-l10n": patch
"@difizen/libro-lab": patch
"@difizen/libro-language-client": patch
"@difizen/libro-lsp": patch
"@difizen/libro-markdown": patch
"@difizen/libro-markdown-cell": patch
"@difizen/libro-output": patch
"@difizen/libro-prompt-cell": patch
"@difizen/libro-raw-cell": patch
"@difizen/libro-rendermime": patch
"@difizen/libro-search": patch
"@difizen/libro-search-code-cell": patch
"@difizen/libro-shared-model": patch
"@difizen/libro-terminal": patch
"@difizen/libro-toc": patch
"@difizen/libro-virtualized": patch
"@difizen/libro-widget": patch
---

feat: add config to allow preferred session & kernel unready text
1 change: 1 addition & 0 deletions packages/libro-core/src/libro-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ export const LibroRender = forwardRef<HTMLDivElement>(function LibroRender(props
@view(notebookViewFactoryId)
export class LibroView extends BaseView implements NotebookView {
protected override toDispose = new DisposableCollection();
@prop()
model: NotebookModel;
headerRender: FC<any> = LibroViewHeader;
loadingRender: FC<any> = () => (
Expand Down

0 comments on commit 106bc9a

Please sign in to comment.