Moving some assets to Education project
This commit is contained in:
1 parent
f24f089794
commit
e7d49e00d8
11 files changed
+9
No files matched your search
@@ -0,0 +1,295 @@
|
||||
{
|
||||
"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
|
||||
},
|
||||
"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\": \"Superalgos\"\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\": \"Superalgos\",\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\": \"Superalgos\",\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