@jupyterlab/inspector
Advanced tools
Comparing version 4.3.0-alpha.2 to 4.3.0-beta.0
@@ -17,3 +17,3 @@ // Copyright (c) Jupyter Development Team. | ||
*/ | ||
const DEFAULT_CONTENT_CLASS = 'jp-Inspector-default-content'; | ||
const DEFAULT_CONTENT_CLASS = 'jp-Inspector-placeholderContent'; | ||
/** | ||
@@ -38,5 +38,5 @@ * A panel which contains a set of inspectors. | ||
else { | ||
this._content = InspectorPanel._generateContentWidget('<p>' + | ||
this._trans.__('Click on a function to see documentation.') + | ||
'</p>'); | ||
const placeholderHeadline = `<h3>${this._trans.__('No Documentation')}</h3>`; | ||
const placeholderText = `<p>${this._trans.__('Move the cursor to a code fragment (e.g. function or object) to request information about it from the kernel attached to the editor.')}</p>`; | ||
this._content = InspectorPanel._generateContentWidget(`${placeholderHeadline}${placeholderText}`); | ||
} | ||
@@ -43,0 +43,0 @@ this.addClass(PANEL_CLASS); |
{ | ||
"name": "@jupyterlab/inspector", | ||
"version": "4.3.0-alpha.2", | ||
"version": "4.3.0-beta.0", | ||
"description": "JupyterLab - Code Inspector", | ||
@@ -44,9 +44,9 @@ "homepage": "https://github.com/jupyterlab/jupyterlab", | ||
"dependencies": { | ||
"@jupyterlab/apputils": "^4.4.0-alpha.2", | ||
"@jupyterlab/codeeditor": "^4.3.0-alpha.2", | ||
"@jupyterlab/coreutils": "^6.3.0-alpha.2", | ||
"@jupyterlab/rendermime": "^4.3.0-alpha.2", | ||
"@jupyterlab/services": "^7.3.0-alpha.2", | ||
"@jupyterlab/statedb": "^4.3.0-alpha.2", | ||
"@jupyterlab/translation": "^4.3.0-alpha.2", | ||
"@jupyterlab/apputils": "^4.4.0-beta.0", | ||
"@jupyterlab/codeeditor": "^4.3.0-beta.0", | ||
"@jupyterlab/coreutils": "^6.3.0-beta.0", | ||
"@jupyterlab/rendermime": "^4.3.0-beta.0", | ||
"@jupyterlab/services": "^7.3.0-beta.0", | ||
"@jupyterlab/statedb": "^4.3.0-beta.0", | ||
"@jupyterlab/translation": "^4.3.0-beta.0", | ||
"@lumino/coreutils": "^2.1.2", | ||
@@ -59,3 +59,3 @@ "@lumino/disposable": "^2.1.2", | ||
"devDependencies": { | ||
"@jupyterlab/testing": "^4.3.0-alpha.2", | ||
"@jupyterlab/testing": "^4.3.0-beta.0", | ||
"@types/jest": "^29.2.0", | ||
@@ -62,0 +62,0 @@ "jest": "^29.2.0", |
@@ -26,3 +26,3 @@ // Copyright (c) Jupyter Development Team. | ||
*/ | ||
const DEFAULT_CONTENT_CLASS = 'jp-Inspector-default-content'; | ||
const DEFAULT_CONTENT_CLASS = 'jp-Inspector-placeholderContent'; | ||
@@ -51,6 +51,11 @@ /** | ||
} else { | ||
const placeholderHeadline = `<h3>${this._trans.__( | ||
'No Documentation' | ||
)}</h3>`; | ||
const placeholderText = `<p>${this._trans.__( | ||
'Move the cursor to a code fragment (e.g. function or object) to request information about it from the kernel attached to the editor.' | ||
)}</p>`; | ||
this._content = InspectorPanel._generateContentWidget( | ||
'<p>' + | ||
this._trans.__('Click on a function to see documentation.') + | ||
'</p>' | ||
`${placeholderHeadline}${placeholderText}` | ||
); | ||
@@ -57,0 +62,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47849
1198