This is an automated email from the ASF dual-hosted git repository.

dklco pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git


The following commit(s) were added to refs/heads/master by this push:
     new dc5efa6  Adding the insights into the content list and page editor
dc5efa6 is described below

commit dc5efa6959912c59783a24b351abd1dd59d9a93d
Author: Dan Klco <[email protected]>
AuthorDate: Thu Oct 18 17:40:46 2018 -0400

    Adding the insights into the content list and page editor
---
 .../jcr_root/libs/sling-cms/content/page/edit.json          |  7 +++++++
 .../jcr_root/libs/sling-cms/content/shared/insights.json    | 13 +------------
 .../jcr_root/libs/sling-cms/content/site/content.json       |  7 +++++++
 3 files changed, 15 insertions(+), 12 deletions(-)

diff --git 
a/ui/src/main/resources/jcr_root/libs/sling-cms/content/page/edit.json 
b/ui/src/main/resources/jcr_root/libs/sling-cms/content/page/edit.json
index 33bf007..a0ff169 100644
--- a/ui/src/main/resources/jcr_root/libs/sling-cms/content/page/edit.json
+++ b/ui/src/main/resources/jcr_root/libs/sling-cms/content/page/edit.json
@@ -21,6 +21,13 @@
                         "title": "Edit Page Properties",
                         "icon": "cog"
                     },
+                    "insights": {
+                        "jcr:primaryType": "nt:unstructured",
+                        "modal": true,
+                        "title": "Insights",
+                        "icon": "info",
+                        "prefix": "/cms/shared/insights.html"
+                    },
                     "version": {
                         "jcr:primaryType": "nt:unstructured",
                         "ajaxPath": ".versionmanager",
diff --git 
a/ui/src/main/resources/jcr_root/libs/sling-cms/content/shared/insights.json 
b/ui/src/main/resources/jcr_root/libs/sling-cms/content/shared/insights.json
index 1f865e0..bab0804 100644
--- a/ui/src/main/resources/jcr_root/libs/sling-cms/content/shared/insights.json
+++ b/ui/src/main/resources/jcr_root/libs/sling-cms/content/shared/insights.json
@@ -1,23 +1,12 @@
 {
     "jcr:primaryType": "sling:Page",
     "jcr:content": {
-        "sling:resourceType": "sling-cms/components/pages/base",
+        "sling:resourceType": "sling-cms/components/pages/modal",
         "jcr:title": "View Insights",
         "jcr:primaryType": "nt:unstructured",
         "container": {
             "jcr:primaryType": "nt:unstructured",
             "sling:resourceType": "sling-cms/components/general/container",
-            "richtext": {
-                "jcr:primaryType": "nt:unstructured",
-                "sling:resourceType": "sling-cms/components/general/richtext",
-                "text": "<h2>Content Insights</h2>"
-            },
-            "contentbreadcrumb": {
-                "jcr:primaryType": "nt:unstructured",
-                "sling:resourceType": 
"sling-cms/components/cms/contentbreadcrumb",
-                "depth": 3,
-                "prefix": "/cms/site/content.html"
-            },
             "siteconfig": {
                 "jcr:primaryType": "nt:unstructured",
                 "sling:resourceType": 
"sling-cms/components/insights/insightlist"
diff --git 
a/ui/src/main/resources/jcr_root/libs/sling-cms/content/site/content.json 
b/ui/src/main/resources/jcr_root/libs/sling-cms/content/site/content.json
index 7094de0..6e9ba9b 100644
--- a/ui/src/main/resources/jcr_root/libs/sling-cms/content/site/content.json
+++ b/ui/src/main/resources/jcr_root/libs/sling-cms/content/site/content.json
@@ -114,6 +114,13 @@
                                     "icon": "cog",
                                     "prefix": 
"/cms/page/siteeditproperties.html"
                                 },
+                                "insights": {
+                                    "jcr:primaryType": "nt:unstructured",
+                                    "modal": true,
+                                    "title": "Insights",
+                                    "icon": "info",
+                                    "prefix": "/cms/shared/insights.html"
+                                },
                                 "movecopy": {
                                     "jcr:primaryType": "nt:unstructured",
                                     "modal": true,

Reply via email to