Merge Develop into Master
This commit is contained in:
1 parent
2d7ed1d085
commit
2bb78c50fb
4223 files changed
+1207152
-16544
No files matched your search
@@ -0,0 +1,176 @@
|
||||
{
|
||||
"type": "Tutorial Step",
|
||||
"definition": {
|
||||
"text": "A tutorial step is a type of node within a tutorial that may not have offspring. As such, it is the smallest unit of information in the hierarchy."
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Block",
|
||||
"text": "Configuring"
|
||||
},
|
||||
{
|
||||
"style": "Title",
|
||||
"text": "Tutorial Step Configuration",
|
||||
"updated": 1609706397520
|
||||
},
|
||||
{
|
||||
"style": "Note",
|
||||
"text": "The basic configuration of the tutorial step node is the same as the Tutorial node. Refer to the latter, please.",
|
||||
"updated": 1613846300336
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "In addition to the basic configuration, tutorial step nodes feature a large collection of resources that allows you to manipulate the user interface and actual nodes in many ways."
|
||||
},
|
||||
{
|
||||
"style": "Subtitle",
|
||||
"text": "Navigation",
|
||||
"updated": 1609706308531
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Setting up a reference to any node in the workspace and using the below parameter makes the step load next to the referenced node."
|
||||
},
|
||||
{
|
||||
"style": "Javascript",
|
||||
"text": " \"positionAtReferenceParent\": true,"
|
||||
},
|
||||
{
|
||||
"style": "Subtitle",
|
||||
"text": "Messages",
|
||||
"updated": 1613846598199
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Setting up a reference to any node in the workspace and using the below parameters allows placing different types of messages on the referenced node."
|
||||
},
|
||||
{
|
||||
"style": "Javascript",
|
||||
"text": "\"setErrorMessageReferenceParent\": \"This is a simulated error message!\"\n\"setInfoMessageReferenceParent\": \"This is a simulated info message!\"\n\"setValueReferenceParent\": \"This is a simulated value message!\"\n\"setPercentageReferenceParent\": \"This is a simulated progress message!\"\n\"setStatusReferenceParent\": \"This is a simulated status message!\"",
|
||||
"updated": 1609706430970
|
||||
},
|
||||
{
|
||||
"style": "Subtitle",
|
||||
"text": "Centering and Zooming Into a Time Machine",
|
||||
"updated": 1609706456866
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Setting up a reference to a time machine node in the Charting Space hierarchy while using the below parameter causes the following:",
|
||||
"updated": 1617706853889
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "The charting space viewport is centered on the referenced time machine."
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "The time machine is adjusted to fit the aspect ratio of the screen."
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "The viewport zooms into the time machine."
|
||||
},
|
||||
{
|
||||
"style": "Javascript",
|
||||
"text": " \"repositionAtTimeMachineReferenceParent\": true,"
|
||||
},
|
||||
{
|
||||
"style": "Subtitle",
|
||||
"text": "Pressing Keys When on a Time Machine",
|
||||
"updated": 1609706492050
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Setting up a reference to a time machine node in the charting space hierarchy and using the below parameters allows replicating the pressing of relevant key combinations when on a time machine.",
|
||||
"updated": 1617706916777
|
||||
},
|
||||
{
|
||||
"style": "Javascript",
|
||||
"text": "\"keyPressedTimeMachineReferenceParent\": {\n\"shiftKey\": true,\n\"ctrlKey\": true,\n\"metaKey\": true,\n\"key\": \"A\"\n}",
|
||||
"updated": 1609706515897
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "shiftKey, ctrlKey, and metaKey (Mac OS equivalent to Control) may be true or false."
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "key may be any letter or number."
|
||||
},
|
||||
{
|
||||
"style": "Subtitle",
|
||||
"text": "Pressing Keys on the Design Space",
|
||||
"updated": 1620866371352
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "It is also possible to press any combination of keys within the Design Space. The format works the same as above but the key press will happen within the context of the design space.",
|
||||
"updated": 1620866727876
|
||||
},
|
||||
{
|
||||
"style": "Javascript",
|
||||
"text": "\"keyPressed\": {\n\"shiftKey\": true,\n\"ctrlKey\": true,\n\"metaKey\": true,\n\"key\": \"R\"\n}",
|
||||
"updated": 1620866699727
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"style": "Subtitle",
|
||||
"text": "Toggling Map View",
|
||||
"updated": 1620866823195
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "In order to switch between regular and map view, you can use the following configuration."
|
||||
},
|
||||
{
|
||||
"style": "Javascript",
|
||||
"text": "\"toggleMapView\": {\n \"view\": \"On\"\n }",
|
||||
"updated": 1620867055273
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Valid options are:",
|
||||
"updated": 1620867068878
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "\"On\""
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "\"Off\""
|
||||
},
|
||||
{
|
||||
"style": "Note",
|
||||
"text": "When this configuration is active within a tutorial step, the user will be unable to switch between views manually.",
|
||||
"updated": 1620867158361
|
||||
},
|
||||
{
|
||||
"style": "Subtitle",
|
||||
"text": "Changing Node's Configurations"
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The batchConfigChangesReferenceParent property allows you to edit the configuration of a referenced node and their offspring.",
|
||||
"updated": 1617707009812
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The example below changes the configuration of the three different scale nodes under a time machine. In this case, the time machine is the node referenced, the nodePath is the path of the node whose configuration must be changed relative to the referenceParent, and the properties parameter is the actual configuration to be set."
|
||||
},
|
||||
{
|
||||
"style": "Json",
|
||||
"text": "\"batchConfigChangesReferenceParent\": [\n {\n \"nodePath\": \"referenceParent.timeScale\",\n \"properties\": {\n \"autoMinScale\": false,\n \"autoMaxScale\": false,\n \"fromDate\": \"2020-08-31T23:40:00.000Z\",\n \"toDate\": \"2020-09-01T01:00:00.000Z\"\n }\n },\n {\n \"nodePath\": \"referenceParent.rateScale\",\n \"properties\": {\n \"autoMinScale\": false,\n \"autoMaxScale\": false,\n \"minValue\": 11400,\n \"maxValue\": 11800\n }\n },\n {\n \"nodePath\": \"referenceParent.timeFrameScale\",\n \"properties\": {\n \"value\": \"01-min\"\n }\n }\n ]",
|
||||
"updated": 1617707082553
|
||||
},
|
||||
{
|
||||
"style": "Success",
|
||||
"text": "A typical use case for this resource is when you wish to bring to user to a specific point in a chart, but it may be used for any other case that requires manipulating node's configurations.",
|
||||
"updated": 1617707174287
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"type": "Tutorial Topic",
|
||||
"definition": {
|
||||
"text": "A tutorial topic is an organizational device that helps to keep tutorial step nodes arranged in a logical hierarchy by topics and subtopics."
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Block",
|
||||
"text": "Content"
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Tutorial topics may be nested within other tutorial topics in unlimited levels, and each level may feature multiple tutorial steps."
|
||||
},
|
||||
{
|
||||
"style": "Block",
|
||||
"text": "Configuring"
|
||||
},
|
||||
{
|
||||
"style": "Title",
|
||||
"text": "Tutorial Topic Configuration",
|
||||
"updated": 1609706732502
|
||||
},
|
||||
{
|
||||
"style": "Note",
|
||||
"text": "The configuration of the tutorial topic node is the same as the Tutorial node. Refer to the latter, please.",
|
||||
"updated": 1613846326015
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,302 @@
|
||||
{
|
||||
"type": "Tutorial",
|
||||
"definition": {
|
||||
"text": "The tutorial hierarchy features a free arrangement of Tutorial Topic and Tutorial Step nodes that make up a tutorial. Each node in the hierarchy, including the parent tutorial node, represents an HTML page that may be overlaid on top of both the Design Space and the Charting Space.",
|
||||
"updated": 1617610222444,
|
||||
"translations": [
|
||||
{
|
||||
"language": "ES",
|
||||
"text": "La jerarquía del tutorial presenta una disposición libre de los nodos Tutorial Topic y Tutorial Step que componen un tutorial. Cada nodo de la jerarquía, incluido el nodo del tutorial principal, representa una página HTML que puede superponerse en la parte superior de ambos Design Space y el Charting Space.",
|
||||
"updated": 1627245866146
|
||||
}
|
||||
]
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Block",
|
||||
"text": "Content"
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Nodes in the hierarchy may be arranged freely, meaning that there may be as many tutorial topics and tutorial steps as desired. Tutorial topics may contain tutorial steps but also other tutorial topics. This allows nesting topics to be used as subtopics.",
|
||||
"updated": 1617649482153
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The system – as usual – evaluates the hierarchy in a clockwise direction starting from the node to the right of the parent Tutorial node, and goes to the deepest node of each branch before moving to the next one.",
|
||||
"updated": 1617649522223
|
||||
},
|
||||
{
|
||||
"style": "Callout",
|
||||
"text": "In general terms, all types of nodes behave similarly in the sense that each node, independently of the precise type, represents a tutorial step in and of itself. That is, all nodes including the top-level Tutorial node, the Tutorial Topic node, and the Tutorial Step node may display a content page as a step in the tutorial. Subtle differences shall be pointed where appropriate.",
|
||||
"updated": 1617622995279
|
||||
},
|
||||
{
|
||||
"style": "Note",
|
||||
"text": "The key similarity among all types of nodes in the hierarchy is that all of them may draw content from the tutorial's collection of pages in the Docs. That is, each node in the hierarchy points to a Docs Page, and it is that page in the Docs that features the content displayed for the given step. The pointer is specified in the configuration of each node (see the docs property).",
|
||||
"updated": 1617623101039
|
||||
},
|
||||
{
|
||||
"style": "Block",
|
||||
"text": "Configuring"
|
||||
},
|
||||
{
|
||||
"style": "Title",
|
||||
"text": "Tutorial Configuration",
|
||||
"updated": 1609704877058
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The configuration of each node in the tutorial hierarchy determines the content and behavior of each step. All types of nodes share the same basic configuration. However, Tutorial Step nodes have extra properties, described on the Tutorial Step node page.",
|
||||
"updated": 1617623609988
|
||||
},
|
||||
{
|
||||
"style": "Success",
|
||||
"text": "The configuration properties discussed on this page apply to all types of nodes in the hierarchy.",
|
||||
"updated": 1617623631110
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The layout of the HTML page follows the layout of the associated page in the Docs, although displayed within the confines of the tutorial window.",
|
||||
"updated": 1617610416865
|
||||
},
|
||||
{
|
||||
"style": "Callout",
|
||||
"text": "In other words, you affect the layout of the particular step by writing content and applying styles to individual paragraphs in the associated Docs Page.",
|
||||
"updated": 1617610435932
|
||||
},
|
||||
{
|
||||
"style": "Note",
|
||||
"text": "The HTML page features a limited space and does not support scrolling. If too much information is defined in the associated Docs Page, the resulting content overflows the available space in the tutorial window. There is no system-side control to deal with such overflows, so it's up to you to spread information across multiple steps and keep each page within its limits.",
|
||||
"updated": 1613839536547
|
||||
},
|
||||
{
|
||||
"style": "Title",
|
||||
"text": "Configuration Properties",
|
||||
"updated": 1617635291377
|
||||
},
|
||||
{
|
||||
"style": "Subtitle",
|
||||
"text": "icon",
|
||||
"updated": 1617635214170
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The property icon requires two definitions:",
|
||||
"updated": 1617635366207
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "The \"name\" of the icon without the extension; "
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "The \"project\" the icon belongs to."
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "For your reference, icons are stored in the following path:"
|
||||
},
|
||||
{
|
||||
"style": "Json",
|
||||
"text": "\\Projects\\[Project-Name]\\Icons",
|
||||
"updated": 1617610685030
|
||||
},
|
||||
{
|
||||
"style": "Success",
|
||||
"text": "Use the existing collection of icons to illustrate each step of the tutorial. These illustrations help make for more compelling communication.",
|
||||
"updated": 1617623866873
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "When the configuration exists, the icon is placed within a table, side by side with the text block that makes up the definition field of the associated Docs Page. When there is no icon, the definition occupies the full width of the page.",
|
||||
"updated": 1617635415677
|
||||
},
|
||||
{
|
||||
"style": "Json",
|
||||
"text": "\"icon\": {\n \"name\": \"balance\",\n \"project\": \"Foundations\"\n }",
|
||||
"updated": 1613840669552
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The above configuration places the balance.png icon of the Superalgos project in the table of the corresponding Docs page (see the docs property below).",
|
||||
"updated": 1617635461827
|
||||
},
|
||||
{
|
||||
"style": "Subtitle",
|
||||
"text": "position",
|
||||
"updated": 1617635475423
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The position property determines the position of the floating HTML. There are three alternatives... \"Left\", \"Right\", or leave the field empty to position the page on the center of the screen.",
|
||||
"updated": 1617635484212
|
||||
},
|
||||
{
|
||||
"style": "Json",
|
||||
"text": " \"position\": \"Left\"",
|
||||
"updated": 1613840787300
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The configuration above places the tutorial step on the left-hand side of the screen.",
|
||||
"updated": 1617635642707
|
||||
},
|
||||
{
|
||||
"style": "Subtitle",
|
||||
"text": "slider",
|
||||
"updated": 1617635668767
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The slider property determines the position of the horizontal slider. There are three alternatives... \"toTop\", \"toBottom\", \"toMiddle\"."
|
||||
},
|
||||
{
|
||||
"style": "Json",
|
||||
"text": "\"slider\": \"toBottom\" // Opens the Charting Space",
|
||||
"updated": 1617624084984
|
||||
},
|
||||
{
|
||||
"style": "Json",
|
||||
"text": "\"slider\": \"toTop\" // Opens the Design Space",
|
||||
"updated": 1617624125599
|
||||
},
|
||||
{
|
||||
"style": "Json",
|
||||
"text": "\"slider\": \"toMiddle\" // Enables using the Charting Space and the Design Space concurrently",
|
||||
"updated": 1617624154127
|
||||
},
|
||||
{
|
||||
"style": "Subtitle",
|
||||
"text": "pressButton",
|
||||
"updated": 1617635952027
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The pressButton property allows you to forcefully \"Stop\" the tutorial, go to the \"Next\" step, go to the \"Previous\" step, or \"Skip\" a step. When a step is loaded and one of these options is configured in this property, the action is applied immediately."
|
||||
},
|
||||
{
|
||||
"style": "Note",
|
||||
"text": "A common use of this feature is to skip a step, for instance, a Tutorial Topic node that is used solely for organizational purposes within the hierarchy, thus features no content. Leave the field empty for the step to play in the usual fashion.",
|
||||
"updated": 1617649582774
|
||||
},
|
||||
{
|
||||
"style": "Json",
|
||||
"text": "\"pressButton\": \"Next\"",
|
||||
"updated": 1613841332185
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The above configuration takes the user to the next step in the tutorial without displaying any content for the node in question.",
|
||||
"updated": 1617648136262
|
||||
},
|
||||
{
|
||||
"style": "Success",
|
||||
"text": "You may use Tutorial Topic nodes for organizational purposes only, for instance, to arrange the hierarchy in a way that it's easy to read and maintain. Topics with too many steps are harder to deal with later on. In other words, you may use a Tutorial Topic node to group several steps, even if you don't intend the Tutorial Topic node to display any content. In such cases, you may use this property to skip the step that is not intended for content display.",
|
||||
"updated": 1617649616576
|
||||
},
|
||||
{
|
||||
"style": "Subtitle",
|
||||
"text": "docs",
|
||||
"updated": 1617636114812
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The docs property is used to point to the Docs Tutorial Page that feeds content to the particular tutorial step. The definition requires the name of the Project, the Docs Page Category which is always \"Tutorial\", and the complete name of the Docs Page, that is, the \"type\" as specified in the JSON file.",
|
||||
"updated": 1617648211414
|
||||
},
|
||||
{
|
||||
"style": "Json",
|
||||
"text": "\"docs\": {\n \"project\": \"Foundations\",\n \"category\": \"Tutorial\",\n \"type\": \"Tutorial Step - Scales' Best-Kept Secrets\"\n }",
|
||||
"updated": 1613842164831
|
||||
},
|
||||
{
|
||||
"style": "Subtitle",
|
||||
"text": "controlDocs",
|
||||
"updated": 1617648219190
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The property is used to control the behavior of the Docs panel. Within controlDocs, several properties are available, and all of them are optional. Let's review each in detail."
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The panel property may be set to \"Open\" or \"Close\". This property controls the tab that allows you to open the Docs Panel in one step, and close it on a different step when it's no longer needed.",
|
||||
"updated": 1617649653900
|
||||
},
|
||||
{
|
||||
"style": "Json",
|
||||
"text": "\"controlDocs\": {\n \"panel\": \"Open\",\n }",
|
||||
"updated": 1617634451884
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"style": "Success",
|
||||
"text": "If the Docs Panel is closed, the rest of the properties are somehow irrelevant. However, when the Docs Panel is open, the rest of the properties control what is displayed in the Docs Panel.",
|
||||
"updated": 1617635061507
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The property closeTutorialEditor may switch on and off the Docs editor. When set to false or when there is no definition, and provided no specific Docs Page is called (see controlDocs below), the Docs panel shows the page associated with the current tutorial step in editing mode.",
|
||||
"updated": 1617649781891
|
||||
},
|
||||
{
|
||||
"style": "Json",
|
||||
"text": "\"controlDocs\": {\n \"panel\": \"Open\",\n \"closeTutorialEditor\": false,\n }",
|
||||
"updated": 1617648310737
|
||||
},
|
||||
{
|
||||
"style": "Success",
|
||||
"text": "Because this definition is set to false by default, this is the usual behavior. That is, by default, when the Docs Panel is opened while a tutorial step is playing, the Docs Panel shows the Docs Page associated with the specific step so that the page may be edited right then and there.",
|
||||
"updated": 1617648335347
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "When the closeTutorialEditor property is set to true and there is no request to open a Docs page (see page property below), then the Docs panel shows whatever Docs Page was being displayed in the previous step.",
|
||||
"updated": 1617648434580
|
||||
},
|
||||
{
|
||||
"style": "Json",
|
||||
"text": "\"controlDocs\": {\n \"panel\": \"Open\",\n \"closeTutorialEditor\": true,\n }",
|
||||
"updated": 1617634444688
|
||||
},
|
||||
{
|
||||
"style": "Success",
|
||||
"text": "You may want to close the tutorial editor when the user is supposed to interact with the Docs from one step to the next. For example, let's say the tutorial instructs the user to run a search and discusses the search results in the following step. In that case, you will want the tutorial editor to remain closed, as otherwise, the search performed by the user would be lost, and instead the page corresponding to the new tutorial step would be loaded.",
|
||||
"updated": 1617649832578
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The searchPage property overruns the tutorial editor settings and loads the home search page featuring the search box in the center.",
|
||||
"updated": 1617649861459
|
||||
},
|
||||
{
|
||||
"style": "Json",
|
||||
"text": "\"controlDocs\": {\n \"panel\": \"Open\",\n \"searchPage\": true,\n }",
|
||||
"updated": 1617648855034
|
||||
},
|
||||
{
|
||||
"style": "Success",
|
||||
"text": "Use the above setting when you wish the user to get the clean search box to make a search or run a command.",
|
||||
"updated": 1617648884933
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The page property is where you define which Docs Page must be loaded. You must specify the Project, the Docs Page Category, and the \"type\" which is the complete name of the page. The optional property anchor allows you to points the user to a specific paragraph in the page with the Docs Anchor Style.",
|
||||
"updated": 1617649332425
|
||||
},
|
||||
{
|
||||
"style": "Json",
|
||||
"text": "\"controlDocs\": {\n \"panel\": \"Open\",\n \"page\": {\n \"project\": \"Foundations\",\n \"category\": \"Topic\",\n \"type\": \"Syntax Overview\",\n \"anchor\": \"Previous Property\"\n }\n }",
|
||||
"updated": 1617649170254
|
||||
},
|
||||
{
|
||||
"style": "Success",
|
||||
"text": "Use the above configuration when you wish the user to read a specific page in the Docs.",
|
||||
"updated": 1617649085529
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user