From 3d423bda331537e9ba4c1dd71f314f0d67b99f6c Mon Sep 17 00:00:00 2001
From: Dorian Goepp <dorian.goepp@gmail.com>
Date: Thu, 4 Apr 2019 14:54:23 +0200
Subject: [PATCH] update the configuration for the demo

---
 src/demo-1-config.js | 46 ++++++++++++++++++++++++++++++++------------
 src/devel-config.js  |  8 +-------
 2 files changed, 35 insertions(+), 19 deletions(-)

diff --git a/src/demo-1-config.js b/src/demo-1-config.js
index dc931b5..c8ab784 100644
--- a/src/demo-1-config.js
+++ b/src/demo-1-config.js
@@ -2,6 +2,11 @@ export const flexlayout_json = {
   global: {
     splitterSize: 5,
     tabSetTabStripHeight: 30,
+    tabSetHeaderHeight: 25,
+    enableEdgeDock: false,
+    tabEnableRename: false,
+    tabSetEnableHeader: false,
+    tabSetEnableTabStrip: false,
   },
   layout: {
     "type": "row",
@@ -9,13 +14,16 @@ export const flexlayout_json = {
     "children": [
       {
         "type": "tabset",
+        "name": "Interaction trace",
         "weight": 50,
         "selected": 0,
         "children": [
           {
             "type": "tab",
-            "name": "Interaction trace",
-            "component": "int-trace"
+            "component": "int-trace",
+            "config": {
+              "hasReadme": true
+            }
           },
         ]
       },
@@ -25,13 +33,16 @@ export const flexlayout_json = {
         "children": [
           {
             "type": "tabset",
+            "name": "Robot's memory",
             "weight": 65,
             "selected": 0,
             "children": [
               {
                 "type": "tab",
-                "name": "Robot's memory",
-                "component": "memory"
+                "component": "memory",
+                "config": {
+                  "hasReadme": true
+                },
               },
             ]
           },
@@ -41,13 +52,16 @@ export const flexlayout_json = {
             "children": [
               {
                 "type": "tabset",
+                "name": "Latest interaction",
                 "weight": 25,
                 "selected": 0,
                 "children": [
                   {
                     "type": "tab",
-                    "name": "Latest interaction",
-                    "component": "latest-interaction"
+                    "component": "latest-interaction",
+                    "config": {
+                      "hasReadme": true
+                    },
                   },
                 ]
               },
@@ -57,21 +71,27 @@ export const flexlayout_json = {
                 "children": [
                   {
                     "type": "tabset",
+                    "name": "Current mood",
                     "children": [
                       {
                         "type": "tab",
-                        "name": "Current mood",
-                        "component": "mood"
+                        "component": "mood",
+                        "config": {
+                          "hasReadme": true
+                        },
                       },
                     ]
                   },
                   {
                     "type": "tabset",
+                    "name": "Involvement",
                     "children": [
                       {
                         "type": "tab",
-                        "name": "Involvement",
-                        "component": "h-gauge"
+                        "component": "h-gauge",
+                        "config": {
+                          "hasReadme": true
+                        },
                       },
                     ]
                   },
@@ -79,13 +99,15 @@ export const flexlayout_json = {
               },
               {
                 "type": "tabset",
+                "name": "Robot video stream",
                 "weight": 50,
                 "children": [
                   {
                     "type": "tab",
-                    "name": "Robot video stream",
                     "component": "video",
-                    "config": {"configurable": false}
+                    "config": {
+                      "hasReadme": true
+                    }
                   }
                 ]
               }
diff --git a/src/devel-config.js b/src/devel-config.js
index 39dbf2f..8cf17be 100644
--- a/src/devel-config.js
+++ b/src/devel-config.js
@@ -36,8 +36,7 @@ export const flexlayout_json = {
             "type": "tab",
             "component": "int-trace",
             "config": {
-              "hasReadme": true,
-              "configurable" : false
+              "hasReadme": true
             }
           },
         ]
@@ -56,7 +55,6 @@ export const flexlayout_json = {
                 "type": "tab",
                 "component": "memory",
                 "config": {
-                  "configurable": false,
                   "hasReadme": true
                 },
               },
@@ -76,7 +74,6 @@ export const flexlayout_json = {
                     "type": "tab",
                     "component": "latest-interaction",
                     "config": {
-                      "configurable": false,
                       "hasReadme": true
                     },
                   },
@@ -94,7 +91,6 @@ export const flexlayout_json = {
                         "type": "tab",
                         "component": "mood",
                         "config": {
-                          "configurable": false,
                           "hasReadme": true
                         },
                       },
@@ -108,7 +104,6 @@ export const flexlayout_json = {
                         "type": "tab",
                         "component": "h-gauge",
                         "config": {
-                          "configurable": false,
                           "hasReadme": true
                         },
                       },
@@ -125,7 +120,6 @@ export const flexlayout_json = {
                     "type": "tab",
                     "component": "demo-video",
                     "config": {
-                      "configurable": false,
                       "hasReadme": true
                     }
                   }
-- 
GitLab