fix: clarify active interface module count
This commit is contained in:
@@ -505,7 +505,7 @@ export default function DashboardPage({
|
||||
|
||||
<div className="metric-grid dashboard-summary-grid">
|
||||
<MetricCard
|
||||
label="Installed modules"
|
||||
label="Active interface modules"
|
||||
value={modules.length}
|
||||
tone="info"
|
||||
detail={moduleLabels(modules)}
|
||||
|
||||
@@ -11,7 +11,7 @@ export default function InstalledModulesWidget({
|
||||
modules: PlatformWebModule[];
|
||||
configuration: DashboardWidgetConfiguration;
|
||||
}) {
|
||||
if (!modules.length) return <p className="muted">No WebUI modules are active.</p>;
|
||||
if (!modules.length) return <p className="muted">No interface modules are active.</p>;
|
||||
const maxItems = clampNumber(configuration.maxItems, 1, 50, 8);
|
||||
const showVersions = configuration.showVersions !== false;
|
||||
const sortBy = configuration.sortBy === "label" ? "label" : "module";
|
||||
@@ -37,7 +37,7 @@ export default function InstalledModulesWidget({
|
||||
</div>
|
||||
)}
|
||||
</dl>
|
||||
{remaining > 0 && <p className="muted dashboard-widget-overflow">+{remaining} more active modules</p>}
|
||||
{remaining > 0 && <p className="muted dashboard-widget-overflow">+{remaining} more active interface modules</p>}
|
||||
</>);
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ const en = {
|
||||
"i18n:govoplan-dashboard.library": "Widget library",
|
||||
"i18n:govoplan-dashboard.grid": "Dashboard grid",
|
||||
"i18n:govoplan-dashboard.widget_settings": "Widget settings",
|
||||
"i18n:govoplan-dashboard.installed_modules_widget": "Installed modules widget",
|
||||
"i18n:govoplan-dashboard.installed_modules_widget": "Active interface modules widget",
|
||||
"i18n:govoplan-dashboard.loading_reason": "The saved Dashboard layout is still loading.",
|
||||
"i18n:govoplan-dashboard.saving_reason": "The Dashboard layout is still being saved.",
|
||||
"i18n:govoplan-dashboard.no_changes_reason": "There are no unsaved Dashboard changes.",
|
||||
@@ -21,7 +21,7 @@ const en = {
|
||||
"Cancel": "Cancel",
|
||||
"Save layout": "Save layout",
|
||||
"Saving...": "Saving...",
|
||||
"Installed modules": "Installed modules",
|
||||
"Active interface modules": "Active interface modules",
|
||||
"Available widgets": "Available widgets",
|
||||
"On dashboard": "On dashboard",
|
||||
"Layout": "Layout",
|
||||
@@ -41,7 +41,7 @@ const de: Record<keyof typeof en, string> = {
|
||||
"i18n:govoplan-dashboard.library": "Widget-Bibliothek",
|
||||
"i18n:govoplan-dashboard.grid": "Übersichtsraster",
|
||||
"i18n:govoplan-dashboard.widget_settings": "Widget-Einstellungen",
|
||||
"i18n:govoplan-dashboard.installed_modules_widget": "Widget für installierte Module",
|
||||
"i18n:govoplan-dashboard.installed_modules_widget": "Widget für aktive Oberflächenmodule",
|
||||
"i18n:govoplan-dashboard.loading_reason": "Die gespeicherte Übersichtsanordnung wird noch geladen.",
|
||||
"i18n:govoplan-dashboard.saving_reason": "Die Übersichtsanordnung wird noch gespeichert.",
|
||||
"i18n:govoplan-dashboard.no_changes_reason": "Es gibt keine ungespeicherten Änderungen an der Übersicht.",
|
||||
@@ -56,7 +56,7 @@ const de: Record<keyof typeof en, string> = {
|
||||
"Cancel": "Abbrechen",
|
||||
"Save layout": "Anordnung speichern",
|
||||
"Saving...": "Speichert...",
|
||||
"Installed modules": "Installierte Module",
|
||||
"Active interface modules": "Aktive Oberflächenmodule",
|
||||
"Available widgets": "Verfügbare Widgets",
|
||||
"On dashboard": "Auf der Übersicht",
|
||||
"Layout": "Anordnung",
|
||||
|
||||
+2
-2
@@ -11,8 +11,8 @@ const dashboardWidgets: DashboardWidgetsUiCapability = {
|
||||
{
|
||||
id: "dashboard.installed-modules",
|
||||
surfaceId: "dashboard.widget.installed-modules",
|
||||
title: "Installed modules",
|
||||
description: "Enabled WebUI modules in this browser session.",
|
||||
title: "Active interface modules",
|
||||
description: "Tenant-enabled modules with a loaded WebUI in this browser session.",
|
||||
moduleId: "dashboard",
|
||||
category: "Platform",
|
||||
order: 10,
|
||||
|
||||
Reference in New Issue
Block a user