From 17564aa48913f2af2df93b27c28b1d1ac611f1b7 Mon Sep 17 00:00:00 2001 From: Alex M Date: Sun, 29 Jan 2017 18:16:36 +0200 Subject: [PATCH 1/3] [Tutorial] Replace glyph mentions with cssclass --- docs/src/tutorials/index.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/src/tutorials/index.md b/docs/src/tutorials/index.md index 52263278ed..2206f18898 100644 --- a/docs/src/tutorials/index.md +++ b/docs/src/tutorials/index.md @@ -340,8 +340,7 @@ Going through the properties we've defined: domain objects of this type. * The `name` of "To-Do List" is the human-readable name for this type, and will be shown to users. -* The `glyph` refers to a special character in Open MCT's custom font set; -this will be used as an icon. +* The `cssclass` describes the icon that will be shown for each To-Do List. * The `description` is also human-readable, and will be used whenever a longer explanation of what this type is should be shown. * Finally, the `features` property describes some special features of objects of @@ -446,7 +445,7 @@ the domain object type, but could have chosen any unique name. domain objects of that type. This means that we'll see this view for To-do Lists that we create, but not for other domain objects (such as Folders.) -* The `glyph` and `name` properties describe the icon and human-readable name +* The `cssclass` and `name` properties describe the icon and human-readable name for this view to display in the UI where needed (if multiple views are available for To-do Lists, the user will be able to choose one.) From 35d8024aaab3ba8fbcb2e3f39ea44637c72aaf19 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Tue, 31 Jan 2017 21:32:31 +0200 Subject: [PATCH 2/3] [Tutorial] Better describe cssclass --- docs/src/tutorials/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/tutorials/index.md b/docs/src/tutorials/index.md index 2206f18898..ec4adef2b8 100644 --- a/docs/src/tutorials/index.md +++ b/docs/src/tutorials/index.md @@ -340,7 +340,9 @@ Going through the properties we've defined: domain objects of this type. * The `name` of "To-Do List" is the human-readable name for this type, and will be shown to users. -* The `cssclass` describes the icon that will be shown for each To-Do List. +* The `cssclass` maps to an icon that will be shown for each To-Do List. The icons +are defined in our [custom open MCT icon set](platform/commonUI/general/res/sass/_glyphs.scss). +A complete list of available icons will be provided in the future. * The `description` is also human-readable, and will be used whenever a longer explanation of what this type is should be shown. * Finally, the `features` property describes some special features of objects of From e712edba4e8d70b9b22ccb0db088b85134f44311 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Tue, 31 Jan 2017 21:35:42 +0200 Subject: [PATCH 3/3] [Tutorial] Fix icon set url --- docs/src/tutorials/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/tutorials/index.md b/docs/src/tutorials/index.md index ec4adef2b8..fc5f47971e 100644 --- a/docs/src/tutorials/index.md +++ b/docs/src/tutorials/index.md @@ -341,7 +341,7 @@ domain objects of this type. * The `name` of "To-Do List" is the human-readable name for this type, and will be shown to users. * The `cssclass` maps to an icon that will be shown for each To-Do List. The icons -are defined in our [custom open MCT icon set](platform/commonUI/general/res/sass/_glyphs.scss). +are defined in our [custom open MCT icon set](https://github.com/nasa/openmct/blob/master/platform/commonUI/general/res/sass/_glyphs.scss). A complete list of available icons will be provided in the future. * The `description` is also human-readable, and will be used whenever a longer explanation of what this type is should be shown.