@node-red/editor-client 2.1.0-beta.2 → 2.1.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.
@@ -93,6 +93,8 @@ export default {
93
93
  {
94
94
  title: {"en-US":"Link Call node added"},
95
95
  prepare(done) {
96
+ this.paletteWasClosed = $("#red-ui-main-container").hasClass("red-ui-palette-closed");
97
+ RED.actions.invoke("core:toggle-palette",true)
96
98
  $('[data-palette-type="link call"]')[0].scrollIntoView({block:"center"})
97
99
  setTimeout(done,100);
98
100
  },
@@ -100,13 +102,27 @@ export default {
100
102
  direction: "right",
101
103
  description: { "en-US": '<p>The <code>Link Call</code> node lets you call another flow that begins with a <code>Link In</code> node and get the result back when the message reaches a <code>Link Out</code> node.</p>' },
102
104
  },
103
-
105
+ {
106
+ title: {"en-US":"MQTT nodes support dynamic connections"},
107
+ prepare(done) {
108
+ $('[data-palette-type="mqtt out"]')[0].scrollIntoView({block:"center"})
109
+ setTimeout(done,100);
110
+ },
111
+ element: '[data-palette-type="mqtt out"]',
112
+ direction: "right",
113
+ description: { "en-US": '<p>The <code>MQTT</code> nodes now support creating their connections and subscriptions dynamically.</p>' },
114
+ },
104
115
  {
105
116
  title: {"en-US":"File nodes renamed"},
106
117
  prepare(done) {
107
118
  $('[data-palette-type="file"]')[0].scrollIntoView({block:"center"})
108
119
  setTimeout(done,100);
109
120
  },
121
+ complete() {
122
+ if (this.paletteWasClosed) {
123
+ RED.actions.invoke("core:toggle-palette",false)
124
+ }
125
+ },
110
126
  element: '[data-palette-type="file"]',
111
127
  direction: "right",
112
128
  description: { "en-US": '<p>The file nodes have been renamed to make it clearer which node does what.</p>' },
@@ -7,7 +7,7 @@
7
7
  <meta name="apple-mobile-web-app-capable" content="yes">
8
8
  <meta name="mobile-web-app-capable" content="yes">
9
9
  <!--
10
- Copyright JS Foundation and other contributors, http://js.foundation
10
+ Copyright OpenJS Foundation and other contributors, https://openjsf.org/
11
11
 
12
12
  Licensed under the Apache License, Version 2.0 (the "License");
13
13
  you may not use this file except in compliance with the License.
@@ -24,24 +24,24 @@
24
24
  <title>{{ page.title }}</title>
25
25
  <link rel="icon" type="image/png" href="{{ page.favicon }}">
26
26
  <link rel="mask-icon" href="{{ page.tabicon.icon }}" color="{{ page.tabicon.colour }}">
27
- <link rel="stylesheet" href="vendor/jquery/css/base/jquery-ui.min.css">
28
- <link rel="stylesheet" href="vendor/font-awesome/css/font-awesome.min.css">
29
- <link rel="stylesheet" href="red/style.min.css">
27
+ <link rel="stylesheet" href="vendor/jquery/css/base/jquery-ui.min.css?v={{ page.version }}">
28
+ <link rel="stylesheet" href="vendor/font-awesome/css/font-awesome.min.css?v={{ page.version }}">
29
+ <link rel="stylesheet" href="red/style.min.css?v={{ page.version }}">
30
30
  {{#page.css}}
31
31
  <link rel="stylesheet" href="{{.}}">
32
32
  {{/page.css}}
33
33
  {{#asset.vendorMonaco}}
34
- <link rel="stylesheet" href="vendor/monaco/style.css">
34
+ <link rel="stylesheet" href="vendor/monaco/style.css?v={{ page.version }}">
35
35
  {{/asset.vendorMonaco}}
36
36
  </head>
37
37
  <body spellcheck="false">
38
38
  <div id="red-ui-editor"></div>
39
- <script src="vendor/vendor.js"></script>
39
+ <script src="vendor/vendor.js?v={{ page.version }}"></script>
40
40
  {{#asset.vendorMonaco}}
41
- <script src="{{ asset.vendorMonaco }}"></script>
41
+ <script src="{{ asset.vendorMonaco }}?v={{ page.version }}"></script>
42
42
  {{/asset.vendorMonaco}}
43
- <script src="{{ asset.red }}"></script>
44
- <script src="{{ asset.main }}"></script>
43
+ <script src="{{ asset.red }}?v={{ page.version }}"></script>
44
+ <script src="{{ asset.main }}?v={{ page.version }}"></script>
45
45
  {{# page.scripts }}
46
46
  <script src="{{.}}"></script>
47
47
  {{/ page.scripts }}