1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/packages/node_modules/@node-red/editor-client/src/tours/welcome.js

99 lines
4.3 KiB
JavaScript
Raw Normal View History

2021-09-08 23:57:35 +02:00
export default {
2022-01-13 16:16:16 +01:00
version: "2.2.0",
2021-09-08 23:57:35 +02:00
steps: [
{
titleIcon: "fa fa-map-o",
title: {
2022-01-13 16:16:16 +01:00
"en-US": "Welcome to Node-RED 2.2!",
"ja": "Node-RED 2.2へようこそ!"
},
description: {
"en-US": "Let's take a moment to discover the new features in this release.",
"ja": "本リリースの新機能を見つけてみましょう。"
}
2021-09-08 23:57:35 +02:00
},
{
title: {
2022-01-13 16:16:16 +01:00
"en-US": "Search history",
},
description: {
2022-01-13 16:16:16 +01:00
"en-US": "<p>The Search dialog now keeps a history of your searches, making it easier to go back to a previous search.</p>"
},
2022-01-13 16:16:16 +01:00
element: "#red-ui-search .red-ui-searchBox-form",
prepare(done) {
RED.search.show();
setTimeout(done,400);
2021-09-08 23:57:35 +02:00
},
complete() {
2022-01-13 16:16:16 +01:00
RED.search.hide();
2021-09-08 23:57:35 +02:00
},
},
{
title: {
2022-01-13 16:16:16 +01:00
"en-US": "New wiring actions",
},
2022-01-13 16:16:16 +01:00
// image: "images/",
description: {
2022-01-13 16:16:16 +01:00
"en-US": `<p>A pair of new actions have been added to help with wiring nodes together:</p>
<ul>
<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>
<li><b><code>Wire Node To Multiple</code></b> - wires the first node selected to all of the other selected nodes.</li>
</ul>
<p>Actions can be accessed from the Action List in the main menu.</p>`
},
2021-10-06 13:05:49 +02:00
},
{
title: {
2022-01-13 16:16:16 +01:00
"en-US": "Deleting nodes and reconnecting wires",
},
2022-01-13 16:16:16 +01:00
image: "images/delete-repair.gif",
description: {
2022-01-13 16:16:16 +01:00
"en-US": `<p>It is now possible to delete a selection of nodes and automatically repair the wiring behind them.</p>
<p>This is really useful if you want to remove a node from the middle of the flow.</p>
<p>Hold the Ctrl (or Cmd) key when you press Delete and the nodes will be gone and the wires repaired.</p>
`
2021-10-06 13:05:49 +02:00
}
},
{
title: {
2022-01-13 16:16:16 +01:00
"en-US": "Detaching nodes from a flow",
2021-09-08 23:57:35 +02:00
},
2022-01-13 16:16:16 +01:00
image: "images/detach-repair.gif",
description: {
2022-01-13 16:16:16 +01:00
"en-US": `<p>If you want to remove a node from a flow without deleting it,
you can use the <b><code>Detach Selected Nodes</code></b> action.</p>
<p>The nodes will be removed from their flow, the wiring repaired behind them, and then attached to the mouse
so you can drop them wherever you want in the workspace.</p>
<p>There isn't a default keyboard shortcut assigned for this new action, but
you can add your own via the Keyboard pane of the main Settings dialog.</p>`
}
2021-10-06 13:05:49 +02:00
},
{
title: {
2022-01-13 16:16:16 +01:00
"en-US": "More wiring tricks",
2021-10-06 13:05:49 +02:00
},
2022-01-13 16:16:16 +01:00
image: "images/slice.gif",
description: {
2022-01-13 16:16:16 +01:00
"en-US": `<p>A couple more wiring tricks to share.</p>
<p>You can now select multiple wires by holding the Ctrl (or Cmd) key
when clicking on a wire. This makes it easier to delete multiple wires in one go.</p>
<p>If you hold the Ctrl (or Cmd) key, then click and drag with the right-hand mouse button,
you can slice through wires to remove them.</p>`
}
2021-09-08 23:57:35 +02:00
},
2021-10-06 13:05:49 +02:00
{
title: {
2022-01-13 16:16:16 +01:00
"en-US": "Node Updates",
},
2022-01-13 16:16:16 +01:00
// image: "images/",
description: {
2022-01-13 16:16:16 +01:00
"en-US": `<ul>
<li>The JSON node will now handle parsing Buffer payloads</li>
<li>The TCP Client nodes support TLS connections</li>
<li>The WebSocket node allows you to specify a sub-protocol when connecting</li>
</ul>`
}
2021-10-06 13:05:49 +02:00
}
2021-09-08 23:57:35 +02:00
]
}