jupyterlab_notifications_extension 1.2.2 → 1.2.3
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/README.md +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -131,14 +131,14 @@ await app.commands.execute('jupyterlab-notifications:send', {
|
|
|
131
131
|
|
|
132
132
|
// Action button that executes a JupyterLab command
|
|
133
133
|
await app.commands.execute('jupyterlab-notifications:send', {
|
|
134
|
-
message: '
|
|
134
|
+
message: 'Help Available!',
|
|
135
135
|
type: 'info',
|
|
136
136
|
autoClose: false,
|
|
137
137
|
actions: [
|
|
138
138
|
{
|
|
139
|
-
label: 'Open
|
|
140
|
-
commandId: '
|
|
141
|
-
args: { path: '
|
|
139
|
+
label: 'Open Help',
|
|
140
|
+
commandId: 'iframe:open',
|
|
141
|
+
args: { path: 'local:///welcome.html' },
|
|
142
142
|
displayType: 'accent'
|
|
143
143
|
}
|
|
144
144
|
]
|
|
@@ -163,8 +163,8 @@ jupyterlab-notify -m "System maintenance in 1 hour" -t warning --no-auto-close
|
|
|
163
163
|
jupyterlab-notify -m "Task complete" --action "Dismiss"
|
|
164
164
|
|
|
165
165
|
# Action button that executes a JupyterLab command
|
|
166
|
-
jupyterlab-notify -m "
|
|
167
|
-
--cmd "
|
|
166
|
+
jupyterlab-notify -m "Help Available!" --action "Open Help" \
|
|
167
|
+
--cmd "iframe:open" --command-args '{"path": "local:///welcome.html"}'
|
|
168
168
|
|
|
169
169
|
# Silent mode (notification center only, no toast)
|
|
170
170
|
jupyterlab-notify -m "Background task finished" --auto-close 0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jupyterlab_notifications_extension",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "Jupyterlab extension to receive and display notifications in the main panel. Those can be from the jupyterjub administrator or from other places.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|