@node-red/editor-client 2.1.5 → 2.2.0-beta.1

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.
@@ -1,12 +1,12 @@
1
1
  export default {
2
- version: "2.1.0",
2
+ version: "2.2.0",
3
3
  steps: [
4
4
  {
5
5
  titleIcon: "fa fa-map-o",
6
6
  title: {
7
- "en-US": "Welcome to Node-RED 2.1!",
8
- "ja": "Node-RED 2.1へようこそ!"
9
- },
7
+ "en-US": "Welcome to Node-RED 2.2!",
8
+ "ja": "Node-RED 2.2へようこそ!"
9
+ },
10
10
  description: {
11
11
  "en-US": "Let's take a moment to discover the new features in this release.",
12
12
  "ja": "本リリースの新機能を見つけてみましょう。"
@@ -14,215 +14,84 @@ export default {
14
14
  },
15
15
  {
16
16
  title: {
17
- "en-US": "A new Tour Guide",
18
- "ja": "新しいツアーガイド"
17
+ "en-US": "Search history",
19
18
  },
20
19
  description: {
21
- "en-US": "<p>First, as you've already found, we now have this tour of new features. We'll only show the tour the first time you open the editor for each new version of Node-RED.</p>" +
22
- "<p>You can choose not to see this tour in the future by disabling it under the View tab of User Settings.</p>",
23
- "ja": "<p>最初に、既に見つけている様に、新機能の本ツアーがあります。本ツアーは、新バージョンのNode-REDフローエディタを初めて開いた時のみ表示されます。</p>" +
24
- "<p>ユーザ設定の表示タブの中で、この機能を無効化することで、本ツアーを表示しないようにすることもできます。</p>"
25
- }
26
- },
27
- {
28
- title: {
29
- "en-US": "New Edit menu",
30
- "ja": "新しい編集メニュー"
20
+ "en-US": "<p>The Search dialog now keeps a history of your searches, making it easier to go back to a previous search.</p>"
31
21
  },
32
- prepare() {
33
- $("#red-ui-header-button-sidemenu").trigger("click");
34
- $("#menu-item-edit-menu").parent().addClass("open");
22
+ element: "#red-ui-search .red-ui-searchBox-form",
23
+ prepare(done) {
24
+ RED.search.show();
25
+ setTimeout(done,400);
35
26
  },
36
27
  complete() {
37
- $("#menu-item-edit-menu").parent().removeClass("open");
28
+ RED.search.hide();
38
29
  },
39
- element: "#menu-item-edit-menu-submenu",
40
- interactive: false,
41
- direction: "left",
42
- description: {
43
- "en-US": "<p>The main menu has been updated with a new 'Edit' section. This includes all of the familar options, like cut/paste and undo/redo.</p>" +
44
- "<p>The menu now displays keyboard shortcuts for the options.</p>",
45
- "ja": "<p>メインメニューに「編集」セクションが追加されました。本セクションには、切り取り/貼り付けや、変更操作を戻す/やり直しの様な使い慣れたオプションが含まれています。</p>" +
46
- "<p>本メニューには、オプションのためのキーボードショートカットも表示されるようになりました。</p>"
47
- }
48
30
  },
49
31
  {
50
32
  title: {
51
- "en-US": "Arranging nodes",
52
- "ja": "ノードの配置"
33
+ "en-US": "New wiring actions",
53
34
  },
54
- prepare() {
55
- $("#red-ui-header-button-sidemenu").trigger("click");
56
- $("#menu-item-arrange-menu").parent().addClass("open");
57
- },
58
- complete() {
59
- $("#menu-item-arrange-menu").parent().removeClass("open");
60
- },
61
- element: "#menu-item-arrange-menu-submenu",
62
- interactive: false,
63
- direction: "left",
35
+ // image: "images/",
64
36
  description: {
65
- "en-US": "<p>The new 'Arrange' section of the menu provides new options to help arrange your nodes. You can align them to a common edge, spread them out evenly or change their order.</p>",
66
- "ja": "<p>メニューの新しい「配置」セクションには、ノードの配置を助ける新しいオプションが提供されています。ノードの端を揃えたり、均等に配置したり、表示順序を変更したりできます。</p>"
67
- }
68
- },
69
- {
70
- title: {
71
- "en-US": "Hiding tabs",
72
- "ja": "タブの非表示"
37
+ "en-US": `<p>A pair of new actions have been added to help with wiring nodes together:</p>
38
+ <ul>
39
+ <li><b><code>Wire Series Of Nodes</code></b> - adds a wire (if necessary) between each pair of nodes in the order they were selected.</li>
40
+ <li><b><code>Wire Node To Multiple</code></b> - wires the first node selected to all of the other selected nodes.</li>
41
+ </ul>
42
+ <p>Actions can be accessed from the Action List in the main menu.</p>`
73
43
  },
74
- element: "#red-ui-workspace-tabs > li.active",
75
- description: {
76
- "en-US": '<p>Tabs can now be hidden by clicking their <i class="fa fa-eye-slash"></i> icon.</p><p>The Info Sidebar will still list all of your tabs, and tell you which ones are currently hidden.',
77
- "ja": '<p><i class="fa fa-eye-slash"></i> アイコンをクリックすることで、タブを非表示にできます。</p><p>情報サイドバーには、全てのタブが一覧表示されており、現在非表示になっているタブを確認できます。'
78
- },
79
- interactive: false,
80
- prepare() {
81
- $("#red-ui-workspace-tabs > li.active .red-ui-tab-close").css("display","block");
82
- },
83
- complete() {
84
- $("#red-ui-workspace-tabs > li.active .red-ui-tab-close").css("display","");
85
- }
86
44
  },
87
45
  {
88
46
  title: {
89
- "en-US": "Tab menu",
90
- "ja": "タブメニュー"
47
+ "en-US": "Deleting nodes and reconnecting wires",
91
48
  },
92
- element: "#red-ui-workspace-tabs-menu",
49
+ image: "images/delete-repair.gif",
93
50
  description: {
94
- "en-US": "<p>The new tab menu also provides lots of new options for your tabs.</p>",
95
- "ja": "<p>新しいタブメニューには、タブに関する沢山の新しいオプションが提供されています。</p>"
96
- },
97
- interactive: false,
98
- direction: "left",
99
- prepare() {
100
- $("#red-ui-workspace > .red-ui-tabs > .red-ui-tabs-menu a").trigger("click");
101
- },
102
- complete() {
103
- $(document).trigger("click");
51
+ "en-US": `<p>It is now possible to delete a selection of nodes and automatically repair the wiring behind them.</p>
52
+ <p>This is really useful if you want to remove a node from the middle of the flow.</p>
53
+ <p>Hold the Ctrl (or Cmd) key when you press Delete and the nodes will be gone and the wires repaired.</p>
54
+ `
104
55
  }
105
56
  },
106
57
  {
107
58
  title: {
108
- "en-US": "Flow and Group level environment variables",
109
- "ja": "フローとグループの環境変数"
110
- },
111
- element: "#red-ui-workspace-tabs > li.active",
112
- interactive: false,
113
- description: {
114
- "en-US": "<p>Flows and Groups can now have their own environment variables that can be referenced by nodes inside them.</p>",
115
- "ja": "<p>フローとグループには、内部のノードから参照できる環境変数を設定できるようになりました。</p>"
116
- }
117
- },
118
- {
119
- prepare(done) {
120
- RED.editor.editFlow(RED.nodes.workspace(RED.workspaces.active()),"editor-tab-envProperties");
121
- setTimeout(done,700);
59
+ "en-US": "Detaching nodes from a flow",
122
60
  },
123
- element: "#red-ui-tab-editor-tab-envProperties-link-button",
61
+ image: "images/detach-repair.gif",
124
62
  description: {
125
- "en-US": "<p>Their edit dialogs have a new Environment Variables section.</p>",
126
- "ja": "<p>編集ダイアログに環境変数セクションが追加されました。</p>"
127
- }
128
- },
129
- {
130
- element: ".node-input-env-container-row",
131
- direction: "left",
132
- description: {
133
- "en-US": '<p>The environment variables are listed in this table and new ones can be added by clicking the <i class="fa fa-plus"></i> button.</p>',
134
- "ja": '<p>この表に環境変数が一覧表示されており、<i class="fa fa-plus"></i>ボタンをクリックすることで新しい変数を追加できます。</p>'
135
- },
136
- complete(done) {
137
- $("#node-dialog-cancel").trigger("click");
138
- setTimeout(done,500);
139
- }
140
- },
141
- {
142
- title: {
143
- "en-US": "Link Call node added",
144
- "ja": "Link Callノードを追加"
145
- },
146
- prepare(done) {
147
- this.paletteWasClosed = $("#red-ui-main-container").hasClass("red-ui-palette-closed");
148
- RED.actions.invoke("core:toggle-palette",true)
149
- $('[data-palette-type="link call"]')[0].scrollIntoView({block:"center"})
150
- setTimeout(done,100);
151
- },
152
- element: '[data-palette-type="link call"]',
153
- direction: "right",
154
- description: {
155
- "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>",
156
- "ja": "<p><code>Link Call</code>ノードを用いることで、<code>Link In</code>ノードから始まるフローを呼び出し、<code>Link Out</code>ノードに到達した時に、結果を取得できます。</p>"
157
- }
158
- },
159
- {
160
- title: {
161
- "en-US": "MQTT nodes support dynamic connections",
162
- "ja": "MQTTノードが動的接続をサポート"
163
- },
164
- prepare(done) {
165
- $('[data-palette-type="mqtt out"]')[0].scrollIntoView({block:"center"})
166
- setTimeout(done,100);
167
- },
168
- element: '[data-palette-type="mqtt out"]',
169
- direction: "right",
170
- description: {
171
- "en-US": '<p>The <code>MQTT</code> nodes now support creating their connections and subscriptions dynamically.</p>',
172
- "ja": '<p><code>MQTT</code>ノードは、動的な接続や購読ができるようになりました。</p>'
173
- },
174
- },
175
- {
176
- title: {
177
- "en-US": "File nodes renamed",
178
- "ja": "ファイルノードの名前変更"
179
- },
180
- prepare(done) {
181
- $('[data-palette-type="file"]')[0].scrollIntoView({block:"center"});
182
- setTimeout(done,100);
183
- },
184
- complete() {
185
- if (this.paletteWasClosed) {
186
- RED.actions.invoke("core:toggle-palette",false)
187
- }
188
- },
189
- element: '[data-palette-type="file"]',
190
- direction: "right",
191
- description: {
192
- "en-US": "<p>The file nodes have been renamed to make it clearer which node does what.</p>",
193
- "ja": "<p>fileノードの名前が変更され、どのノードが何を行うかが明確になりました。</p>"
63
+ "en-US": `<p>If you want to remove a node from a flow without deleting it,
64
+ you can use the <b><code>Detach Selected Nodes</code></b> action.</p>
65
+ <p>The nodes will be removed from their flow, the wiring repaired behind them, and then attached to the mouse
66
+ so you can drop them wherever you want in the workspace.</p>
67
+ <p>There isn't a default keyboard shortcut assigned for this new action, but
68
+ you can add your own via the Keyboard pane of the main Settings dialog.</p>`
194
69
  }
195
70
  },
196
71
  {
197
72
  title: {
198
- "en-US": "Deep copy option on Change node",
199
- "ja": "Changeノードのディープコピーオプション"
200
- },
201
- prepare(done) {
202
- var def = RED.nodes.getType('change');
203
- RED.editor.edit({id:"test",type:"change",rules:[{t:"set",p:"payload",pt:"msg", tot:"msg",to:"anotherProperty"}],_def:def, _:def._});
204
- setTimeout(done,700);
205
- },
206
- complete(done) {
207
- $("#node-dialog-cancel").trigger("click");
208
- setTimeout(done,500);
209
- },
210
- element: function() {
211
- return $(".node-input-rule-property-deepCopy").next();
73
+ "en-US": "More wiring tricks",
212
74
  },
75
+ image: "images/slice.gif",
213
76
  description: {
214
- "en-US": "<p>The Set rule has a new option to create a deep copy of the value. This ensures a complete copy is made, rather than using a reference.</p>",
215
- "ja": "<p>値を代入に、値のディープコピーを作成するオプションが追加されました。これによって参照ではなく、完全なコピーが作成されます。</p>"
77
+ "en-US": `<p>A couple more wiring tricks to share.</p>
78
+ <p>You can now select multiple wires by holding the Ctrl (or Cmd) key
79
+ when clicking on a wire. This makes it easier to delete multiple wires in one go.</p>
80
+ <p>If you hold the Ctrl (or Cmd) key, then click and drag with the right-hand mouse button,
81
+ you can slice through wires to remove them.</p>`
216
82
  }
217
83
  },
218
84
  {
219
85
  title: {
220
- "en-US": "And that's not all...",
221
- "ja": "これが全てではありません..."
86
+ "en-US": "Node Updates",
222
87
  },
88
+ // image: "images/",
223
89
  description: {
224
- "en-US": "<p>There are many more smaller changes, including:</p><ul><li>Auto-complete suggestions in the <code>msg</code> TypedInput.</li><li>Support for <code>msg.resetTimeout</code> in the <code>Join</code> node.</li><li>Pushing messages to the front of the queue in the <code>Delay</code> node's rate limiting mode.</li><li>An optional second output on the <code>Delay</code> node for rate limited messages.</li></ul>",
225
- "ja": "<p>以下の様な小さな変更が沢山あります:</p><ul><li><code>msg</code> TypedInputの自動補完提案</li><li><code>Join</code>ノードで<code>msg.resetTimeout</code>のサポート</li><li><code>Delay</code>ノードの流量制御モードにおいて先頭メッセージをキューに追加</li><li><code>Delay</code>ノードで流量制限されたメッセージ向けの任意の2つ目の出力</li></ul>"
90
+ "en-US": `<ul>
91
+ <li>The JSON node will now handle parsing Buffer payloads</li>
92
+ <li>The TCP Client nodes support TLS connections</li>
93
+ <li>The WebSocket node allows you to specify a sub-protocol when connecting</li>
94
+ </ul>`
226
95
  }
227
96
  }
228
97
  ]