From 7d374b5a8f7d7360f6be9c446971e5e77ede5e80 Mon Sep 17 00:00:00 2001 From: Moqui Industrial <729502+moqui-industrial@users.noreply.github.com> Date: Thu, 14 May 2026 11:16:51 +0200 Subject: [PATCH 1/2] Add Dashboard entity for DB-driven Grafana/Kibana/custom dashboard embedding New Dashboard entity (moqui.screen.dashboard) stores dashboard URLs, types and descriptions in the database. Screens can load the appropriate dashboard URL at runtime (e.g. a per-device Grafana dashboard rendered in an iframe) rather than hard-coding locations in screen definitions. DashboardType enum type with seed values: DashScreenWidgets, DashKibana, DashGrafana. GrafanaRemote UserPermission added for controlling Grafana proxy access. --- framework/data/MoquiSetupData.xml | 3 +++ framework/entity/ScreenEntities.xml | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/framework/data/MoquiSetupData.xml b/framework/data/MoquiSetupData.xml index 3aba25af1..7be275f14 100644 --- a/framework/data/MoquiSetupData.xml +++ b/framework/data/MoquiSetupData.xml @@ -120,6 +120,9 @@ along with this software (see the LICENSE.md file). If not, see + + + diff --git a/framework/entity/ScreenEntities.xml b/framework/entity/ScreenEntities.xml index cc296a3e1..abf476f14 100644 --- a/framework/entity/ScreenEntities.xml +++ b/framework/entity/ScreenEntities.xml @@ -523,4 +523,27 @@ along with this software (see the LICENSE.md file). If not, see --> + + + + + + + Metadata for dashboards and external reports to be included in Moqui screens. + + + + + + + + + + + + + + + + From de1a344fe2911d441561045529b5d3452a5ad371 Mon Sep 17 00:00:00 2001 From: Moqui Industrial <729502+moqui-industrial@users.noreply.github.com> Date: Thu, 14 May 2026 11:17:05 +0200 Subject: [PATCH 2/2] Add TimeDayDimension OLAP entity TimeDayDimension (moqui.olap) provides a time-of-day dimension table for analytics star schemas: hour, minute, second, military hour, quarter-hour, AM/PM, day period. --- framework/entity/OlapEntities.xml | 19 +++++++++++++++++++ .../service/org/moqui/impl/EntityServices.xml | 1 + 2 files changed, 20 insertions(+) diff --git a/framework/entity/OlapEntities.xml b/framework/entity/OlapEntities.xml index 033080b72..5096ad8b4 100644 --- a/framework/entity/OlapEntities.xml +++ b/framework/entity/OlapEntities.xml @@ -30,6 +30,25 @@ along with this software (see the LICENSE.md file). If not, see Format: YYYY-MM + + Time of Day Dimension. The natural key is [timeValue] + + + + Time of the day in the format: hh:mm:ss + Hour of the day (0 - 11). Hour on a 12-hour clock. + Military hour of the day (0 - 23). Hour on a 24-hour clock. + Extraction of the quarter hours. + Minute of the hour (0 - 59). + Second of the minute (0 - 59). + Minute of the day (0 - 1439). + Second of the day (0 - 86399). + AM/PM indicator. + Indicator of day or night. + Abbreviated indicator of day or night. + Names of day periods. + Abbreviated names of day periods. + Currency Dimension. The natural key is [currencyId] diff --git a/framework/service/org/moqui/impl/EntityServices.xml b/framework/service/org/moqui/impl/EntityServices.xml index 8e6bb3341..de8513a52 100644 --- a/framework/service/org/moqui/impl/EntityServices.xml +++ b/framework/service/org/moqui/impl/EntityServices.xml @@ -415,4 +415,5 @@ along with this software (see the LICENSE.md file). If not, see } ]]> +