From e8c5f9c66c5fc2c30057f45f512196e14e94ba6e Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Tue, 2 Dec 2014 16:20:53 -0800 Subject: [PATCH 1/2] [Panels] Bring in telemetry panels Bring in telemetry panels as an object type from the sandbox Angular transition branch. WTD-576. --- platform/features/layout/bundle.json | 61 ++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 platform/features/layout/bundle.json diff --git a/platform/features/layout/bundle.json b/platform/features/layout/bundle.json new file mode 100644 index 0000000000..7fb9b0f2bf --- /dev/null +++ b/platform/features/layout/bundle.json @@ -0,0 +1,61 @@ +{ + "name": "Layout components.", + "description": "Plug in adding Layout capabiltiies.", + "extensions": { + "types": [ + { + "key": "telemetry.panel", + "name": "Telemetry Panel", + "glyph": "t", + "description": "A panel for collecting telemetry elements.", + "delegates": [ "telemetry" ], + "features": "creation", + "model": { "composition": [] }, + "properties": [ + { + "label": "Preferred Size", + "control": "_textfields", + "values": [ + { + "label": "Width (px)", + "pattern": "^(\\d*[1-9]\\d*)?$" + }, + { + "label": "Height (px)", + "pattern": "^(\\d*[1-9]\\d*)?$" + } + ], + "key": "preferredSize", + "conversion": "number[]" + }, + { + "label": "Layout Grid", + "control": "_textfields", + "values": [ + { + "label": "Horizontal grid (px)", + "pattern": "^(\\d*[1-9]\\d*)?$" + }, + { + "label": "Vertical grid (px)", + "pattern": "^(\\d*[1-9]\\d*)?$" + } + ], + "key": "layoutGrid", + "conversion": "number[]" + }, + { + "label": "Default View", + "control": "_select", + "values": [ + "Plot", + "Scrolling" + ], + "comment": "TODO: Infer values from type", + "key": "defaultView" + } + ] + } + ] + } +} \ No newline at end of file From 0a16c428bf503724044799edea2d42a064781cba Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Tue, 2 Dec 2014 16:24:14 -0800 Subject: [PATCH 2/2] [Panels] Include panels in active bundles Include bundle platform/features/layout, which includes the Telemtry Panel domain object type, in the list of active bundles. WTD-576. --- bundles.json | 1 + 1 file changed, 1 insertion(+) diff --git a/bundles.json b/bundles.json index bb37355f0e..768767ca17 100644 --- a/bundles.json +++ b/bundles.json @@ -7,6 +7,7 @@ "platform/commonUI/dialog", "platform/commonUI/general", "platform/telemetry", + "platform/features/layout", "platform/features/plot", "platform/features/scrolling",