@jupytergis/jupytergis-core 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/jgisplugin/plugins.js +8 -1
- package/package.json +3 -3
- package/style/base.css +4 -0
|
@@ -98,7 +98,7 @@ const activate = async (app, tracker, themeManager, browserFactory, externalComm
|
|
|
98
98
|
});
|
|
99
99
|
});
|
|
100
100
|
app.commands.addCommand(CommandIDs.createNew, {
|
|
101
|
-
label: args => 'GIS
|
|
101
|
+
label: args => { var _a; return (_a = args['label']) !== null && _a !== void 0 ? _a : 'GIS Project'; },
|
|
102
102
|
caption: 'Create a new JGIS Editor',
|
|
103
103
|
icon: args => logoIcon,
|
|
104
104
|
execute: async (args) => {
|
|
@@ -169,6 +169,13 @@ const activate = async (app, tracker, themeManager, browserFactory, externalComm
|
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
+
// Inject “New JupyterGIS file” into the File Browser context menu
|
|
173
|
+
app.contextMenu.addItem({
|
|
174
|
+
command: CommandIDs.createNew,
|
|
175
|
+
selector: '.jp-DirListing',
|
|
176
|
+
rank: 55,
|
|
177
|
+
args: { label: 'New JupyterGIS Project' },
|
|
178
|
+
});
|
|
172
179
|
};
|
|
173
180
|
const jGISPlugin = {
|
|
174
181
|
id: 'jupyterGIS:jGISplugin',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupytergis/jupytergis-core",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "JupyterGIS core extension",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@jupyter/collaborative-drive": "^3.0.0",
|
|
57
|
-
"@jupytergis/base": "^0.6.
|
|
58
|
-
"@jupytergis/schema": "^0.6.
|
|
57
|
+
"@jupytergis/base": "^0.6.1",
|
|
58
|
+
"@jupytergis/schema": "^0.6.1",
|
|
59
59
|
"@jupyterlab/application": "^4.3.0",
|
|
60
60
|
"@jupyterlab/apputils": "^4.3.0",
|
|
61
61
|
"@jupyterlab/docregistry": "^4.3.0",
|