Commit Graph

582 Commits

Author SHA1 Message Date
Nick O'Leary 97fd34150f
EditableList/TreeList - defer adding elements to DOM
Whenever a DOM element is modified, it causes the browser to re-examine
the whole hierarchy around the element to see if anything needs to change.

This can cause a lot of extra work if an element is added to the DOM and
then a lot of updates are applied to the element.

It is much better to get the element as close to its final state as
possible *before* adding it to the DOM.
2020-06-10 00:42:11 +01:00
Nick O'Leary d28b8b5e8d
Some performance improvements for TreeList 2020-06-08 17:13:05 +01:00
Nick O'Leary f2b30d9a3f
Resize info/help sidebars whenever sidebar is opened 2020-06-08 13:17:06 +01:00
Nick O'Leary 0a614f2741
Add search defaults to outliner searchBox 2020-06-08 12:02:21 +01:00
Nick O'Leary a9fb50787b
Add search presets option to searchBox widget 2020-06-08 12:01:29 +01:00
Nick O'Leary ce7d7a8e01
Add RED.popover.menu as a new type of menu widget 2020-06-08 12:01:05 +01:00
Nick O'Leary 7006c00233
Add support for is:XYZ search flags
- is:unused
 - is:config
 - is:subflow
 - is:invalid
2020-06-08 11:55:24 +01:00
Nick O'Leary 21866634b3
Track subflow instances on the subflow node itself 2020-06-08 11:49:43 +01:00
Nick O'Leary d9502a6c00
Refresh outline filter whenever something changes
Fixes #2601
2020-06-05 22:19:46 +01:00
Nick O'Leary 95f7b9205a
Fix Help tab search box appearance 2020-06-05 17:14:25 +01:00
Nick O'Leary b4b2729e96
Do a sync-redraw after clearing to ensure clean state 2020-06-05 16:56:12 +01:00
Nick O'Leary 091a462a42
Add 'add' option to touch radialMenu for quick-add dialog 2020-06-05 15:48:45 +01:00
Nick O'Leary 7c2786969a
Preserve event handlers when moving outliner items 2020-06-05 09:55:36 +01:00
Nick O'Leary 565aae5967
Add tooltips to outliner buttons 2020-06-05 09:55:36 +01:00
Nick O'Leary 4c28b5b227
Only validate nodes once they have all been imported
This ensures any checks for dependent config nodes will pass
2020-06-04 17:06:29 +01:00
Nick O'Leary a7a949377b
Ensure configNode.users is updated properly on import 2020-06-04 17:06:11 +01:00
Nick O'Leary b6fbe7d07d
Merge pull request #2588 from node-red/status-filter-nodes
Add compact searchBox to status/catch/complete nodes
2020-06-03 17:29:05 +01:00
Nick O'Leary 139ae547c6
Add filter to link node 2020-06-03 15:54:51 +01:00
Nick O'Leary efecfa328b
Fix up event handling when deleting groups and tabs 2020-06-03 14:23:26 +01:00
Nick O'Leary 6d737b9e4c
Remove unneeded code on object delete in outliner
See https://github.com/node-red/node-red/pull/2578#discussion_r434163293
2020-06-02 22:53:34 +01:00
Nick O'Leary 2ce424b567
Add compact searchBox to status/catch/complete nodes 2020-06-01 21:09:58 +01:00
Steve-Mcl 9128b12960 Support setting title on typedInput option/ check 2020-06-01 11:25:42 +01:00
Nick O'Leary 8158744829
Merge pull request #2578 from node-red-hitachi/fix-group-delete
fix deletion of group
2020-05-28 11:18:08 +01:00
Hiroyasu Nishiyama 9d8cbcb993 remove JSONata Arra.from check for IE11 2020-05-28 13:22:14 +09:00
Hiroyasu Nishiyama 3345f2f3b8 simplify code structure 2020-05-28 10:23:50 +09:00
Nick O'Leary 95d1b7bc36
Merge branch 'dev' into pr_2570 2020-05-27 11:52:37 +01:00
Hiroyasu Nishiyama 05f816fc5d not emit change event on group delete 2020-05-25 08:46:35 +09:00
Hiroyasu Nishiyama c5ca9fafee fix deletion of group 2020-05-23 21:20:23 +09:00
Nick O'Leary 22e7ddcb1d
Merge branch 'dev' into pr_2490 2020-05-22 15:43:17 +01:00
Nick O'Leary b1eafac67a
Fixup IE11 Array.from polyfill 2020-05-22 15:31:38 +01:00
Nick O'Leary 5d81cec00c
Merge branch 'pr_2498' into dev 2020-05-22 15:22:12 +01:00
Nick O'Leary 9512450d7c
Reduce duplicated code in Function node html 2020-05-22 14:57:28 +01:00
Nick O'Leary 4c24bd4ab9
[projects] Allow remote branch dialog to create non-default remote branches 2020-05-21 17:19:54 +01:00
Nick O'Leary 50aaef5103
Make all dialogs handle smaller height screens better
Covers library, clipboard and project dialogs
2020-05-21 15:14:39 +01:00
Nick O'Leary 38872049fd
Fix checkbox appearance on status/complete/catch/link nodes 2020-05-21 10:39:49 +01:00
Nick O'Leary 5dc1cc54d5
Add basic Array.from polyfill for IE11 2020-05-21 10:26:24 +01:00
Nick O'Leary 57f0fbbb98
Add some more trap form elements to workaround Chrome autofill 2020-05-21 10:21:18 +01:00
Nick O'Leary 7d67e6a276
[outliner] handle items being added out-of-order
Closes #2573
2020-05-20 12:37:19 +01:00
Hiroyasu Nishiyama 2343fbd86a add variable declaration to prohibit jshint error 2020-05-20 13:47:56 +09:00
Nick O'Leary 15cc88de6c
[info-sidebar] Handle node/group/flows with \\n in their name 2020-05-19 17:53:20 +01:00
cinhcet 64b3c11682 debug nodes in subflows are ignored and changed name of callback to callback 2020-05-19 18:00:03 +02:00
Nick O'Leary b8784185e8
Merge pull request #2568 from node-red-hitachi/fix-line-break-of-group-name
fix line break of group label
2020-05-19 15:09:06 +01:00
Nick O'Leary fdc721baa1
Merge pull request #2569 from node-red/node-labels
Add action to toggle node label visiblity
2020-05-19 14:43:54 +01:00
cinhcet a6a781f67c fix debug undo/redo by introducing a sideEffectCallback in history object 2020-05-19 13:51:08 +02:00
Nick O'Leary fe1f8ca0a8
Delay when nodes are added to internal model on import
Closes #2567

This ensures when the node:added event fires, all possible
changes have already been applied such as remapping node ids.

This avoids the need to emit a separate node:changed event.
2020-05-19 11:28:38 +01:00
Nick O'Leary 1f2c0a78c2
Only refresh sidebar on tab edit if nothing else selected 2020-05-19 10:13:35 +01:00
cinhcet a69db4d572 move to debug.html, rename to "deactivate" instead of "disable" 2020-05-19 11:03:15 +02:00
Hiroyasu Nishiyama 12c92072d0 not update sidebar for deleted tab 2020-05-19 09:27:50 +09:00
Nick O'Leary e674d9246b
[treeList] Ensure removed item is also removed from selected set 2020-05-19 00:15:51 +01:00
cinhcet b71f81af57 added editor action to disable all debug nodes on a global/current workspace level 2020-05-18 22:49:10 +02:00