@kumologica/sdk 3.4.0-beta4 → 3.4.0-beta7
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/package.json +4 -4
- package/src/app/main-process/menu.js +1 -1
- package/src/app/main-process/modal-nodelibrary.js +2 -1
- package/src/app/ui/editor-client/public/red/red.js +18 -4
- package/src/app/ui/editor-client/public/red/red.min.js +1 -1
- package/src/app/ui/editor-client/public/red/style.min.css +1 -1
- package/src/app/ui/editor-client/src/js/modals/modal-node-library.js +2 -1
- package/src/app/ui/editor-client/src/js/ui/header.js +1 -1
- package/src/app/ui/editor-client/src/js/ui/palette-explorer.js +7 -1
- package/src/app/ui/editor-client/src/js/ui/search.js +8 -1
- package/src/app/ui/editor-client/src/sass/header.scss +1 -0
- package/src/app/ui/editor-client/src/sass/palette.scss +19 -0
- package/src/app/ui/editor-client/src/sass/tabs.scss +0 -1
- package/src/app/ui/editor-client/src/sass/workspace.scss +1 -1
- package/src/app/ui/editor-client/templates/index.mst +1 -1
|
@@ -246,7 +246,8 @@ RED.modalNodeLibrary = (function () {
|
|
|
246
246
|
// Attach click event to launch the node library from the sidebar-footer
|
|
247
247
|
$('#launch-node-library').click((event) => {
|
|
248
248
|
event.preventDefault();
|
|
249
|
-
window.__kumologica.
|
|
249
|
+
window.__kumologica.electron.shell.openExternal('https://kumologica.com/nodes/index.html');
|
|
250
|
+
// window.__kumologica.main.dispatch('show-node-library-modal', null);
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
return {
|
|
@@ -30,6 +30,8 @@ RED.palette.explorer = (function () {
|
|
|
30
30
|
];
|
|
31
31
|
|
|
32
32
|
try{
|
|
33
|
+
if (!window.jqtree) return; // Hack - otherwise the nodeLibrary modal fail to load due to this library being missed
|
|
34
|
+
|
|
33
35
|
$('#exp-open-project').tree({
|
|
34
36
|
data:data,
|
|
35
37
|
autoOpen: true,
|
|
@@ -46,7 +48,11 @@ RED.palette.explorer = (function () {
|
|
|
46
48
|
usecontextmenu: true,
|
|
47
49
|
closedIcon: $('<i class="icofont-rounded-right"></i>'),
|
|
48
50
|
openedIcon: $('<i class="icofont-rounded-down"></i>'),
|
|
49
|
-
onCreateLi: function(node, $li) {
|
|
51
|
+
onCreateLi: function(node, $li) {
|
|
52
|
+
if (node.id !== '__root__'){
|
|
53
|
+
$li.find('.jqtree-title').before('<span class="icon tab-icon">T</span>');
|
|
54
|
+
}
|
|
55
|
+
}
|
|
50
56
|
});
|
|
51
57
|
|
|
52
58
|
// Add the context menu
|
|
@@ -166,7 +166,7 @@ RED.search = (function () {
|
|
|
166
166
|
*/
|
|
167
167
|
function searchCommands() {
|
|
168
168
|
return [
|
|
169
|
-
{ type: 'command', title: 'Open Settings', action: 'core:settings:open', shortcut: `${CtrlOrCmd()}
|
|
169
|
+
{ type: 'command', title: 'Open Settings', action: 'core:settings:open', shortcut: `${CtrlOrCmd()} Y` },
|
|
170
170
|
{ type: 'command', title: 'Show Project Info', action: 'core:project-info' },
|
|
171
171
|
{ type: 'command', title: 'Run Test...', cb: () => {
|
|
172
172
|
if (!$('.sidebar-test').is(':visible')){
|
|
@@ -175,8 +175,15 @@ RED.search = (function () {
|
|
|
175
175
|
|
|
176
176
|
$('#test-sidebar-run-btn').click();
|
|
177
177
|
} },
|
|
178
|
+
{ type: 'command', title: 'Open Log Viewer', cb: ()=> {
|
|
179
|
+
$('#workspace-terminal').toggle()
|
|
180
|
+
}, shortcut: `${CtrlOrCmd()} T` },
|
|
178
181
|
{ type: 'command', title: 'Import Flow', action: 'core:show-import-dialog', shortcut: `${CtrlOrCmd()} I` },
|
|
179
182
|
{ type: 'command', title: 'Export Flow', action: 'core:show-export-dialog', shortcut: `${CtrlOrCmd()} E` },
|
|
183
|
+
{ type: 'command', title: 'Help: Documentation', cb: ()=> {
|
|
184
|
+
window.__kumologica.electron.shell.openExternal('https://docs.kumologica.com/docs/guide/Intro.html');
|
|
185
|
+
},
|
|
186
|
+
}
|
|
180
187
|
]
|
|
181
188
|
}
|
|
182
189
|
|
|
@@ -406,6 +406,7 @@
|
|
|
406
406
|
#exp-workspace-addFolder,
|
|
407
407
|
#exp-open-project-createTab {
|
|
408
408
|
display: flex;
|
|
409
|
+
height: fit-content;
|
|
409
410
|
}
|
|
410
411
|
|
|
411
412
|
|
|
@@ -420,5 +421,23 @@
|
|
|
420
421
|
font-size: smaller;
|
|
421
422
|
}
|
|
422
423
|
|
|
424
|
+
.tab-icon {
|
|
425
|
+
border-radius: 3px;
|
|
426
|
+
font-weight: bold;
|
|
427
|
+
position: relative;
|
|
428
|
+
left: 11px;
|
|
429
|
+
font-size: 10px;
|
|
430
|
+
background: #E59D37;
|
|
431
|
+
height: 6px;
|
|
432
|
+
width: 8px;
|
|
433
|
+
top: 4px;
|
|
434
|
+
padding: 3px;
|
|
435
|
+
display: flex;
|
|
436
|
+
justify-content: center;
|
|
437
|
+
align-items: center;
|
|
438
|
+
align-content: center;
|
|
439
|
+
font-family: monospace;
|
|
440
|
+
}
|
|
441
|
+
|
|
423
442
|
|
|
424
443
|
|