Nick O'Leary
b65e4d5794
Moar changes
2020-06-15 21:06:27 +01:00
Nick O'Leary
7599e865fd
WIP: move config nodes down a level in outliner tree
2020-06-15 19:08:51 +01:00
Nick O'Leary
ebca8c0217
Increase group margin to avoid clash with status text
2020-06-14 23:44:26 +01:00
Nick O'Leary
752a080876
Fix event order when quick-adding node to group
2020-06-14 23:44:01 +01:00
Nick O'Leary
0541d9189d
Switch RED.events.DEBUG messages to warn to get stacktraces
2020-06-14 23:43:15 +01:00
Nick O'Leary
0e454b08c8
Fix empty item handling for subflows/config in outliner
2020-06-14 22:46:59 +01:00
Nick O'Leary
2d0ca20a03
Fix search indexing of group nodes
2020-06-14 22:46:46 +01:00
Nick O'Leary
61d9ccf263
Avoid regenerating every node label on redraw
2020-06-13 23:02:10 +01:00
Hiroyasu Nishiyama
1c30584153
fix code indentation
2020-06-13 23:33:45 +09:00
Hiroyasu Nishiyama
5c5bebd689
fix handling of multi-line node label
2020-06-13 23:28:10 +09:00
Nick O'Leary
93211470d1
Merge pull request #2611 from node-red-hitachi/fix-group-merge-activation
...
Disable group merge for single item or non-group items
2020-06-12 08:50:12 +01:00
Nick O'Leary
b5800205c4
Merge pull request #2610 from node-red-hitachi/fix-charAt-error-on-undefined
...
Fix char at error on undefined when opening websocket-listner
2020-06-12 08:49:34 +01:00
Nick O'Leary
eeebf04509
Merge pull request #2609 from node-red-hitachi/fix-remove-from-group
...
fix empty placeholder not shown on remove from group
2020-06-12 08:49:09 +01:00
Nick O'Leary
f4f99f594d
Merge pull request #2612 from node-red-hitachi/fix-group-position
...
Fix group position of empty group with multi-line label
2020-06-12 08:48:33 +01:00
Hiroyasu Nishiyama
5e8e739f78
fix position of empty group with multi-line label
2020-06-12 16:07:46 +09:00
Hiroyasu Nishiyama
a15adc43af
merge code for checking menu activation
2020-06-12 09:54:11 +09:00
Hiroyasu Nishiyama
07556592c1
disable merge group menu for single item or non-group item
2020-06-12 08:42:15 +09:00
Hiroyasu Nishiyama
7694349078
prevent charAt call on websocket listener
2020-06-11 23:00:56 +09:00
Hiroyasu Nishiyama
4f3cb3103e
make treelist of subflow/config nodes initialy has empty placeholder
2020-06-11 22:18:31 +09:00
Hiroyasu Nishiyama
842cd1ecf0
fix empty placeholder not shown on remove from group
2020-06-11 09:57:43 +09:00
Nick O'Leary
81a4f42673
Merge pull request #2607 from node-red-hitachi/fix-stringify-error
...
prevent conversion of circular structure
2020-06-10 13:38:32 +01:00
Hiroyasu Nishiyama
152e695f4c
prevent conversion of circular structure
2020-06-10 19:56:16 +09:00
Nick O'Leary
5a0c10b80e
Handle null status text in the editor
...
Fixes #2606
2020-06-10 10:58:44 +01:00
Nick O'Leary
7be824640c
Fix snapToGrid
2020-06-10 01:02:48 +01:00
Nick O'Leary
c061487a16
Massively reduce our dependency on d3 to render the view
...
This is a slightly scary set of changes to be making. It overhauls
how the view is rendered.
Rather than use d3 for every single part of generating the view,
we new use native DOM functions as much as possible.
d3 is still used for the basic heavy lifting of working out what
nodes/links etc need to be added/removed from the view. But once
it comes to rendering them, d3 is side-lined as much as possible.
There's room for further improvement. This change focusses on Nodes
and Links. It has not touched groups, subflow-ports and link-nodes.
2020-06-10 00:45:20 +01:00
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
6d294a0c74
Prevent RED.stop being called multiple times if >1 signal received
2020-06-09 08:23:12 +01:00
Nick O'Leary
fe4ef354ac
Flag a node as removed when it is disabled
2020-06-08 20:59:00 +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
34dfd50702
Bump node-red-admin 0.2.6
2020-06-06 10:35:07 +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
d14d4944a0
Rename Node Information to Information in sidebar
2020-06-05 17:14:08 +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
299b81f51b
Fix Link node filter
...
Fixes #2600
2020-06-05 16:20:40 +01:00
Nick O'Leary
ad6b18e66f
Make catch/status/complete/link filter case-insensitive
2020-06-05 16:00:02 +01:00
Nick O'Leary
091a462a42
Add 'add' option to touch radialMenu for quick-add dialog
2020-06-05 15:48:45 +01:00
Dave Conway-Jones
cb218a57f1
Merge branch 'dev' of https://github.com/node-red/node-red into dev
2020-06-05 11:22:42 +01:00
Dave Conway-Jones
ba8649117d
ensure trigger node detects changes to number of outputs
2020-06-05 11:22:38 +01:00
Nick O'Leary
20daebd965
Ignore whitespace when checking function setup/close code
2020-06-05 10:36:49 +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
Dave Conway-Jones
16a634063a
Fix debug node status to migrate old nodes to correct default mode.
2020-06-05 09:48:12 +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