-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement JupyterLab Panel Preview (#79)
* Implement JupyterLab Panel Preview * Add support for py and yaml files * Remove log statement * Linting
- Loading branch information
1 parent
ebac4b5
commit 64f3363
Showing
10 changed files
with
15,947 additions
and
4,566 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"jupyter.lab.setting-icon-class": "jp-PanelIcon", | ||
"jupyter.lab.setting-icon-label": "Panel Preview", | ||
"title": "Panel Preview", | ||
"description": "Panel Preview Extension", | ||
"properties": { | ||
"renderOnSave": { | ||
"title": "Render Preview on Save", | ||
"description": "Render the Panel preview automatically after saving the notebook", | ||
"default": false, | ||
"type": "boolean" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"type": "object" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { LabIcon } from '@jupyterlab/ui-components'; | ||
|
||
import panelSvgStr from '../style/panel.svg'; | ||
|
||
export const panelIcon = new LabIcon({ | ||
name: '@pyviz/jupyterlab_pyviz:panel', | ||
svgstr: panelSvgStr | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.