Hooking into c8y UI: widgets, nav panel buttons, app views - m-kostira/angularjs-notes GitHub Wiki

http://resources.cumulocity.com/documentation/jssdk/latest/

c8yNavigator

Service to modify the menu (left nav panel);
Add new menu entries, Remove navigation entries from the menu

c8y-dashboard-gridstack

component that provides attribute default-children which can be used to add children to the dashboard programmatically

Default widgets object need to provide a position, name, title and can also provide a configuration which is provided to the widget

action bar

This is a horizontal bar that stays fixed at the top, below the main header bar

http://styleguide.cumulocity.com/components/action-bar/#
http://resources.cumulocity.com/documentation/jssdk/latest/#/api/c8y.ui.directive:c8yUiActionBarSet
objects can be added from anywhere in the markup, just wrap them in

    <c8y-ui-action-bar-set>
        <a href="" action-bar-position="left" ng-click="doSomething()">
            Edit
        </a>
        <a href="" ng-click="doSomething()">
            Remove
        </a>
    </c8y-ui-action-bar-set>