diff --git a/src/Board.js b/src/Board.js index c276a86f38b5a102867376d20cd32c6a6fd5bbdb..7120bb43f069497c0c5e903d6f2af3375113ef63 100755 --- a/src/Board.js +++ b/src/Board.js @@ -14,10 +14,8 @@ import { RosMood, DemoMood } from './Mood' import DemoString from './String' // get the default configuration for the layout -import {flexlayout_json as json} from './demo-1-config' -// import {flexlayout_json as json} from './devel-1-config' -// import {flexlayout_json as json} from './devel-2-config' -// import {flexlayout_json as json} from './devel-3-config' +// import {flexlayout_json as json} from './demo-1-config' +import {flexlayout_json as json} from './devel-config' // CSS import './Common.css' diff --git a/src/devel-1-config.js b/src/devel-1-config.js deleted file mode 100644 index 6c0a666fb3e97b728bc4753eb6a477748cbfaee5..0000000000000000000000000000000000000000 --- a/src/devel-1-config.js +++ /dev/null @@ -1,107 +0,0 @@ -export const flexlayout_json = { - global: { - splitterSize: 5, - tabSetTabStripHeight: 30, - }, - // "borders": [ - // { - // "type":"border", - // "location": "left", - // "children": [ - // { - // "type": "tab", - // "enableClose":false, - // "name": "Latest sa interaction", - // "component": "latest-interaction", - // }, - // ] - // }, - // ], - layout: { - "type": "row", - "weight": 100, - "children": [ - { - "type": "tabset", - "weight": 50, - "selected": 0, - "children": [ - { - "type": "tab", - "name": "Interaction trace", - "component": "int-trace" - }, - { - "type": "tab", - "name": "Normal plot", - "component": "line-chart" - }, - { - "type": "tab", - "name": "Demo plot", - "component": "demo-line-chart" - }, - { - "type": "tab", - "name": "Video Stream title", - "component": "demo-video", - "config": {"configurable": true} - } - ] - }, - { - "type": "row", - "weight": 50, - "children": [ - { - "type": "tabset", - "weight": 25, - "selected": 0, - "children": [ - { - "type": "tab", - "name": "Current mood", - "component": "demo-mood" - }, - { - "type": "tab", - "name": "Root's second memory", - "component": "memory-scale" - }, - { - "type": "tab", - "name": "Horizontal Gauge title", - "component": "h-gauge" - } - ] - }, - { - "type": "tabset", - "weight": 25, - "selected": 0, - "children": [ - { - "type": "tab", - "name": "Satest interaction", - "component": "latest-interaction" - }, - { - "type": "tab", - "name": "Print a string", - "component": "string" - }, - { - "type": "tab", - "name": "Second h-gauge", - "component": "h-gauge", - "config": { - "configurable": false - } - }, - ] - } - ] - } - ] - } -}; \ No newline at end of file diff --git a/src/devel-3-config.js b/src/devel-3-config.js deleted file mode 100644 index 87eaa692d39fb76158a1035c24c32c02c3988ab1..0000000000000000000000000000000000000000 --- a/src/devel-3-config.js +++ /dev/null @@ -1,104 +0,0 @@ -export const flexlayout_json = { - global: { - splitterSize: 5, - tabSetTabStripHeight: 30, - tabSetHeaderHeight: 25, - enableEdgeDock: false, - tabEnableRename: false, - tabSetEnableHeader: false, - tabSetEnableTabStrip: false, - }, - layout: { - "type": "row", - "weight": 100, - "children": [ - { - "type": "tabset", - "name": "Interaction trace", - "active": true, - "weight": 50, - "selected": 0, - "children": [ - { - "type": "tab", - "component": "int-trace" - }, - ] - }, - { - "type": "row", - "weight": 50, - "children": [ - { - "type": "tabset", - "name": "Robot's memory", - "weight": 65, - "selected": 0, - "children": [ - { - "type": "tab", - "component": "memory" - }, - ] - }, - { - "type": "row", - "weight": 35, - "children": [ - { - "type": "tabset", - "name": "Latest interaction", - "weight": 25, - "selected": 0, - "children": [ - { - "type": "tab", - "component": "latest-interaction" - }, - ] - }, - { - "type": "row", - "weight": 25, - "children": [ - { - "type": "tabset", - "name": "Current mood", - "children": [ - { - "type": "tab", - "component": "mood" - }, - ] - }, - { - "type": "tabset", - "name": "Involvement", - "children": [ - { - "type": "tab", - "component": "h-gauge" - }, - ] - }, - ] - }, - { - "type": "tabset", - "name": "Robot video stream", - "weight": 50, - "children": [ - { - "type": "tab", - "component": "demo-video", - "config": {"configurable": false} - } - ] - } - ] - } - ] - } - ] - } -}; diff --git a/src/devel-2-config.js b/src/devel-config.js similarity index 81% rename from src/devel-2-config.js rename to src/devel-config.js index 0c52a04f99415d7a35b9a9c0f7b4d6de1a6192ca..39dbf2f42ed108923f628720c62b890ac9afa804 100644 --- a/src/devel-2-config.js +++ b/src/devel-config.js @@ -2,26 +2,41 @@ export const flexlayout_json = { global: { splitterSize: 5, tabSetTabStripHeight: 30, + tabSetHeaderHeight: 25, enableEdgeDock: false, tabEnableRename: false, tabSetEnableHeader: false, tabSetEnableTabStrip: false, }, + // "borders": [ + // { + // "type":"border", + // "location": "left", + // "children": [ + // { + // "type": "tab", + // "enableClose":false, + // "name": "Latest sa interaction", + // "component": "latest-interaction", + // }, + // ] + // }, + // ], layout: { "type": "row", "weight": 100, "children": [ { "type": "tabset", + "name": "Interaction trace", "weight": 50, "selected": 0, "children": [ { "type": "tab", - "name": "Interaction trace", "component": "int-trace", "config": { - "hasReadme": false, + "hasReadme": true, "configurable" : false } }, @@ -33,12 +48,12 @@ export const flexlayout_json = { "children": [ { "type": "tabset", + "name": "Robot's memory", "weight": 65, "selected": 0, "children": [ { "type": "tab", - "name": "Robot's memory", "component": "memory", "config": { "configurable": false, @@ -53,12 +68,12 @@ export const flexlayout_json = { "children": [ { "type": "tabset", + "name": "Latest interaction", "weight": 25, "selected": 0, "children": [ { "type": "tab", - "name": "Latest interaction", "component": "latest-interaction", "config": { "configurable": false, @@ -73,10 +88,10 @@ export const flexlayout_json = { "children": [ { "type": "tabset", + "name": "Current mood", "children": [ { "type": "tab", - "name": "Current mood", "component": "mood", "config": { "configurable": false, @@ -87,10 +102,10 @@ export const flexlayout_json = { }, { "type": "tabset", + "name": "Involvement", "children": [ { "type": "tab", - "name": "Involvement", "component": "h-gauge", "config": { "configurable": false, @@ -103,11 +118,11 @@ export const flexlayout_json = { }, { "type": "tabset", + "name": "Robot video stream", "weight": 50, "children": [ { "type": "tab", - "name": "Robot video stream", "component": "demo-video", "config": { "configurable": false,