Nick O'Leary
95a51aafdc
Add path property to debug messages
...
Fixes #2358
This property can be used to identify the full path to the node that
logged a given message. If the node is inside a subflow (and maybe
nested many levels deep), this path can be used to help find the
node, rather than just the top-level subflow instance node.
A side-effect of this change is the Debug sidebar is now able to
show the message tools for a message coming from a deeply nested
subflow
2020-01-17 16:56:30 +00:00
Dave Conway-Jones
2f4dcba54d
let subflow add node-red context to status
...
For all those nodes thaht don't specify it.
So that subflow status then works ok
2019-11-20 06:12:33 -05:00
Nick O'Leary
880757fb5d
Rework Subflow Instance property UI ( #2236 )
...
* Add support of Subflow UI definition
* new UI definition for env var
* fix label
* fixed value obtaining
* fixed label width
* fix checkbox
* fix subflow info
* remove old subflow ui tests
* add tests
* merge ui new changes
* fix initial open button
* fix environment variable edit tab
* WIP: cp-1
* Rework subflow ui property
* Restrict SF value type according to input selection
* Move subflow property UI code to subflow.js
* Update subflow ui type select appearance
* Present subflow instance properties as table rather than generated UI
* Move subflow instance properties to separate tab
* Fix subflow property ui element layout issues
2019-08-12 15:01:54 +01:00
Nick O'Leary
ae2162beaf
Handle subflow internal node wired to a non-existant node
...
Fixes #2202
2019-06-13 14:23:46 +01:00
Nick O'Leary
ee6c6266cc
Avoid env var reference loops and support $parent. prefix
...
Fixes #2099
2019-03-20 13:37:33 +00:00
Nick O'Leary
c9ff05ba80
Subflow status node must pass status to parent flow
...
Fixes #2087
2019-03-13 13:14:34 +00:00
Nick O'Leary
75393c0b28
Clear subflow status no close
2019-02-09 21:24:31 +00:00
Nick O'Leary
d48a09e68b
Add env type to subflow env var types
...
Also remove date and regex types
2019-02-06 13:58:31 +00:00
Nick O'Leary
5110eaff96
Merge branch 'dev' into pr_2042
2019-02-04 14:39:00 +00:00
Nick O'Leary
db3eee72b5
Do not convert falsey env vars to blank string
...
Only blank out undefined as that's what we've always done
2019-02-04 14:12:34 +00:00
Nick O'Leary
3bcff91328
Add Status Node to Subflow to allow subflow-specific status
...
Closes #597
2019-02-01 23:44:50 +00:00
Hiroyasu Nishiyama
e843f192ec
convert subflow env vars to dict
2019-02-02 08:34:33 +09:00
Hiroyasu Nishiyama
ce507b3b52
simplified meta-data
2019-01-30 20:57:51 +09:00
Hiroyasu Nishiyama
6937aa5ddd
fix type of env values
2019-01-29 23:46:56 +09:00
Hiroyasu Nishiyama
8f6b24e0aa
fixed to access last variable with same name
2019-01-29 21:46:50 +09:00
Hiroyasu Nishiyama
0881c6a20b
update test cases
2019-01-28 23:14:49 +09:00
Hiroyasu Nishiyama
f88a4b1791
fixed comments from @knolleary
2019-01-28 22:14:08 +09:00
Hiroyasu Nishiyama
a413f3cded
Add support of subflow env var
2019-01-26 23:15:20 +09:00
Nick O'Leary
c99b35428b
Ensure status/error events are propagated to parent properly
2019-01-25 13:35:02 +00:00
Nick O'Leary
dd72046922
Add some comments to Flow and Subflow classes
2019-01-16 23:33:04 +00:00
Nick O'Leary
81f4e0de56
Refactor Subflow logic into own class
2019-01-16 16:27:19 +00:00