Dashboard API

Big picture

A big picture is usually very big!

Dashboard

Architecture

OMN Dashboard Architecture

OMN Dashboard Architecture

OMN Dashboard System Components

OMN Dashboard System Components

OMN Frontend architecture

Mappings:

widgets.service.ts:

widgetsCategoriesMap - map query types to widget category (Global Widgets, MAM Widgets, PIM Widgets, CM Widgets). It is required to add queryId here to see widget in add new widget modal window in appropriate category.

getWidgets - list of all available widgets. All these widgets would be available in “Standard” dashboard if user opens dashboard first time.

widget-queries.service.ts:

queryEditModelsMap - mapping of configuration fields for each of query type. User can see there fields if he clicks “edit” button inside some specific widget.

widget-default-values.service.ts: widgetsDefaultValuesMap - mapping with default values for each field of configuration form.

widgets-send-receive-permissions.service.ts: sendersQueryIdsMap, receiversQueryIdsMap - mappings with possible senders and receivers (query types)

Store (dashboard-reducer.service.ts)

dashboards - list of available dashboards

widgets - list of available widgets

pluginConfigurationInfo - base plugin configuration coming from backend. It contains available functions data for toolbars.

selectedDashboardId - current dashboard

editableWidgetIds - ids of widgets which is edited in the moment(currently only one editing widget possible)

isWidgetDragging - flag

queryData - data for building of widgets. { key(queryId): any }

queryConfigurations - saved configurations for queryData requests

widgetIdsWithErrors - for errors displaying

These fields are for expand/collapse of widget(minimize/maximize/normal buttons in control) expandedWidgetId horizontally minimizedWidgetIds vertically

selectedSendersItems - senders values

sendersActivityStatuses - flags for enabling/disabling sender items

senderReceiverModels - models with senders to receivers connection

REST API

For infos about Dashboard API check Dashboard REST API

Welcome to the AI Chat!

Write a prompt to get started...