New dashboard configuration page (#659651)
It is now possible to configure the Web Client dashboards, which are shown on the welcome page and on the resource pool overview page, on a graphical user interface in the Web Admin Suite. This makes the configuration more intuitive and user-friendly as the widgets can be positioned graphically on a grid and their settings are easy to access.
The Dashboards page has been added to the Web Client menu for this purpose. It consists of two tabs:
- Main dashboard: Configures the dashboard on the welcome page, which is opened after logging in to the Web Client
- Resources dashboard: Configures the dashboard on the resource overview page, which is opened when clicking the Resources link in the menu.
Each tab consists of two parts:
-
Script and raw data: Allows to provide global settings for the dashboard.
Script-based dashboardsIf you want to make the dashboard dependent on the current user's roles, you need to create a script of the type Page customization which returns the layout. The Layout configuration field shows the syntax of the current configuration from the main panel to serve as an example of the expected return value.
-
Main panel: Allows to add widgets, define their positions and sizes on the grid and edit their settings.
You can create additional tabs to group your widgets. If there is only one tab configured, all widgets are displayed at once. The widget settings can be opened be clicking the Edit icon or double-clicking the widget. You can select a script which returns the widget's settings. This is required for widgets which show dynamic data. Some widgets require scripts in their settings as well.
Resource dashboard widgetsFor the resource dashboard, only widgets of the type Chart are available, because other widget types are not properly supported.
The previous mechanism of using the page customization in the Web Client for dashboard configuration remains functional.