I have two observations, the first one being a requirement for RadCam.
(1) - Hidden options:
Today, external blueos extensions cannot set the widget's options. An example is the widget.options.isCollapsible (added here) for the iframe widget:
(2) - iframe-only API design:
The current API accepts a list of "widgets", in which every single element can only be, with no discrimination possible, an iframe widget. What if an extension wants to add a mini-widget or a button to the screen?
Relevant part from http://192.168.2.2/extensionv2/radcammanager/cockpit_extras.json:
{
"target_system": "Cockpit",
"target_cockpit_api_version": "1.0.0",
"widgets": [
{
"name": "RadCam (192.168.2.10)",
"config_iframe_url": null,
"iframe_url": "#/?uuid=bc071802-2c6d-8301-ac36-bc0718022c6d&cockpit_mode=true",
"iframe_icon": "/assets/logo.svg",
"version": "0.2.0-beta.14"
}
]
}
Thanks
I have two observations, the first one being a requirement for RadCam.
(1) - Hidden options:
Today, external blueos extensions cannot set the widget's options. An example is the
widget.options.isCollapsible(added here) for the iframe widget:(2) - iframe-only API design:
The current API accepts a list of "widgets", in which every single element can only be, with no discrimination possible, an iframe widget. What if an extension wants to add a mini-widget or a button to the screen?
Relevant part from
http://192.168.2.2/extensionv2/radcammanager/cockpit_extras.json:{ "target_system": "Cockpit", "target_cockpit_api_version": "1.0.0", "widgets": [ { "name": "RadCam (192.168.2.10)", "config_iframe_url": null, "iframe_url": "#/?uuid=bc071802-2c6d-8301-ac36-bc0718022c6d&cockpit_mode=true", "iframe_icon": "/assets/logo.svg", "version": "0.2.0-beta.14" } ] }Thanks