-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove PDF preview and open warning plugins
- Loading branch information
Showing
23 changed files
with
776 additions
and
2,769 deletions.
There are no files selected for viewing
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
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
"""JupyterLab extension for DataLogger.""" | ||
|
||
|
||
# Required for symlinking in development ("jupyter labextension develop --overwrite .") | ||
def _jupyter_labextension_paths() -> list[dict[str, str]]: | ||
return [{"src": "../labextension", "dest": "jupyterlab-datalogger"}] |
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
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 |
---|---|---|
@@ -1,9 +1,5 @@ | ||
export const PACKAGE_NAME = "jupyterlab-datalogger"; | ||
|
||
// Mimetypes | ||
export const PDF_MIMETYPE = "application/pdf"; | ||
export const JSON_MIMETYPE = "application/json"; | ||
export const NETCDF_MIMETYPE = "application/x-netcdf"; | ||
|
||
// PDF preview parameters | ||
export const PDF_PREVIEW_WIDTH = 250; | ||
export const PDF_PREVIEW_BORDER_WIDTH = 1; | ||
export const PDF_PREVIEW_GAP = 10; |
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 |
---|---|---|
@@ -1,15 +1,16 @@ | ||
import { LabIcon } from "@jupyterlab/ui-components"; | ||
import { PACKAGE_NAME } from "@/constants"; | ||
import borderAllSvgstring from "./border-all.svg"; | ||
import chartLineSvgstring from "./chart-line.svg"; | ||
|
||
export const borderAllIcon = new LabIcon({ | ||
name: "jupyterlab-datalogger:border-all", | ||
name: `${PACKAGE_NAME}:border-all-icon`, | ||
svgstr: borderAllSvgstring, | ||
}); | ||
|
||
export const chartLineIcon = new LabIcon({ | ||
name: "jupyterlab-datalogger:chart-line", | ||
name: `${PACKAGE_NAME}:chart-line-icon`, | ||
svgstr: chartLineSvgstring, | ||
}); | ||
|
||
export { default as chartLineIconUrl } from "./chart-line.svg?url"; | ||
export { default as chartLineIconUrl } from "./chart-line.svg?data-url"; |
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 |
---|---|---|
@@ -1,16 +1,3 @@ | ||
import applyModifications from "@/modifications"; | ||
import { | ||
netcdfFileTypePlugin, | ||
dataloggerLoadCodePlugin, | ||
pdfPreviewPlugin, | ||
openWarningPlugin, | ||
} from "@/plugins"; | ||
import { netcdfFileTypePlugin, dataloggerLoadCodePlugin } from "@/plugins"; | ||
|
||
applyModifications(); | ||
|
||
export default [ | ||
netcdfFileTypePlugin, | ||
dataloggerLoadCodePlugin, | ||
pdfPreviewPlugin, | ||
openWarningPlugin, | ||
]; | ||
export default [netcdfFileTypePlugin, dataloggerLoadCodePlugin]; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.