fix(ui): align contextual documentation with headings

Verified with the coordinated workspace changes by devkit full run
2026-09-08T225814-186389-0000-3e3ed7cd (all seven phases passed).
This shared UI pass does not mark the individual module reviews complete.
This commit is contained in:
2026-09-09 02:04:05 +02:00
parent 8253bd0dd6
commit a3593dc5ee
5 changed files with 24 additions and 3 deletions
@@ -597,6 +597,8 @@ manifest = ModuleManifest(
title="Governed reporting and semantic BI",
summary="Build reproducible reports over provider-owned datasets without bypassing module or row-level access.",
body=(
"Documentation books sit immediately beside the visible heading or contextual label for "
"Reporting, not among operational action buttons. Field help remains beside its label. "
"Reporting pins dataset, semantic-model, and report revisions. Runs retain "
"definition hashes, source fingerprints, policy provenance, quality evidence, "
"authorized result rows, diagnostics, and output hashes. Safe dimensions, "
@@ -658,6 +660,9 @@ manifest = ModuleManifest(
"ohne Modul- oder Zeilenberechtigungen zu umgehen."
),
"body": (
"Dokumentationsbücher stehen unmittelbar neben der sichtbaren Überschrift oder "
"Kontextbezeichnung für Berichtswesen, nicht zwischen ausführbaren Aktionsschaltflächen. "
"Feldhilfe bleibt neben der Feldbezeichnung. "
"Reporting fixiert Revisionen von Datensätzen, semantischen Modellen und "
"Berichten. Ausführungen bewahren Definitionsprüfsummen, Quellfingerabdrücke, "
"Richtlinienherkunft, Qualitätsnachweise, berechtigte Ergebniszeilen, Diagnosen "
@@ -275,7 +275,9 @@ export default function ReportingPage({ settings, auth }: PlatformRouteContext)
</FilterBar>
<span className="reporting-count">{reports.length + providerReports.length} reports</span>
</>}
helpAction={<DocumentationHelpLink
title="Reporting"
titleLevel={1}
titleHelp={<DocumentationHelpLink
reference={{ topicId: "reporting.governed-bi", documentationType: "user" }}
label="Open reporting documentation"
/>}
@@ -323,7 +325,7 @@ export default function ReportingPage({ settings, auth }: PlatformRouteContext)
<header className="reporting-result-header">
<div className="reporting-title">
<span>{selected.definition_key} · revision {selected.revision}</span>
<h1>{selected.name}</h1>
<h2>{selected.name}</h2>
</div>
<div className="reporting-run-actions">
{canSchedule &&
+12
View File
@@ -0,0 +1,12 @@
import type { PlatformTranslations } from "@govoplan/core-webui";
/** Module-owned translations for contextual headings. */
export const generatedTranslations: PlatformTranslations = {
en: {
"Reporting": "Reporting",
},
de: {
"Reporting": "Reporting",
},
};
+2
View File
@@ -1,6 +1,7 @@
import { createElement, lazy } from "react";
import type { DashboardWidgetsUiCapability, PlatformWebModule } from "@govoplan/core-webui";
import ReportingReportsWidget from "./features/reporting/ReportingReportsWidget";
import { generatedTranslations } from "./i18n/generatedTranslations";
import "./styles/reporting.css";
@@ -42,6 +43,7 @@ const reportingDashboardWidgets: DashboardWidgetsUiCapability = {
};
export const reportingModule: PlatformWebModule = {
translations: generatedTranslations,
id: "reporting",
label: "Reporting",
version: "0.1.14",
+1 -1
View File
@@ -109,7 +109,7 @@
font-size: 0.75rem;
}
.reporting-title h1 {
.reporting-title h2 {
overflow: hidden;
margin: 2px 0 0;
font-size: 1.05rem;