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:03:46 +02:00
parent 1236b861b8
commit 34211e848b
4 changed files with 15 additions and 4 deletions
@@ -8,6 +8,7 @@ import { ActionBlockerHint,
DescriptionList,
Dialog,
DocumentationHelpLink,
TextWithHelp,
DismissibleAlert,
FileDropZone,
FormField as CoreFormField,
@@ -397,6 +398,8 @@ export default function FormInstancePage({ settings, auth }: PlatformRouteContex
<main className="forms-runtime-page">
<WorkspaceFrame className="form-instance-shell" label="Form instance" interfaceId="forms-runtime.instance" helpContextId="forms-runtime.page.instance" helpModuleId="forms-runtime">
<WorkspaceActionBar
title="Form instance"
titleHelp={<DocumentationHelpLink reference={FORMS_RUNTIME_DOCUMENTATION} />}
scope="workspace"
variant="detail"
refreshable
@@ -416,7 +419,6 @@ export default function FormInstancePage({ settings, auth }: PlatformRouteContex
File in eAkte
</Button>
: undefined}
helpAction={<DocumentationHelpLink reference={FORMS_RUNTIME_DOCUMENTATION} />}
/>
<PageScrollViewport className="form-instance-viewport">
{error &&
@@ -446,7 +448,7 @@ export default function FormInstancePage({ settings, auth }: PlatformRouteContex
<div className="form-instance-content">
<section className="form-instance-main">
<header>
<h1>{localized.title}</h1>
<TextWithHelp as="div" help={editable ? <DocumentationHelpLink reference={FORMS_RUNTIME_FIELD_DOCUMENTATION} /> : undefined}><h1>{localized.title}</h1></TextWithHelp>
{localized.description && <p>{localized.description}</p>}
</header>
{assisted &&
@@ -553,7 +555,6 @@ export default function FormInstancePage({ settings, auth }: PlatformRouteContex
}
{editable &&
<div className="form-instance-actions">
<DocumentationHelpLink reference={FORMS_RUNTIME_FIELD_DOCUMENTATION} />
{canSave &&
<label className="form-change-reason">
<span>Change reason</span>
@@ -70,6 +70,8 @@ export default function FormsRuntimePage({ settings, auth }: PlatformRouteContex
<main className="forms-runtime-page">
<WorkspaceFrame className="forms-runtime-shell" label="Forms runtime" interfaceId="forms-runtime.workspace" helpContextId="forms-runtime.page.workspace" helpModuleId="forms-runtime">
<WorkspaceActionBar
title="Forms runtime"
titleHelp={<DocumentationHelpLink reference={FORMS_RUNTIME_DOCUMENTATION} />}
scope="workspace"
variant="collection"
refreshable
@@ -110,7 +112,6 @@ export default function FormsRuntimePage({ settings, auth }: PlatformRouteContex
Assisted intake
</Button>
: undefined}
helpAction={<DocumentationHelpLink reference={FORMS_RUNTIME_DOCUMENTATION} />}
/>
<PageScrollViewport className="forms-runtime-list-viewport">
{error &&
+4
View File
@@ -1,6 +1,8 @@
import type { PlatformTranslations } from "@govoplan/core-webui";
const en = {
"Form instance": "Form instance",
"Forms runtime": "Forms runtime",
"i18n:govoplan-forms-runtime.forms": "Forms",
"i18n:govoplan-forms-runtime.loading_reason": "Form data is still loading.",
"i18n:govoplan-forms-runtime.saving_reason": "A Form operation is still running.",
@@ -202,6 +204,8 @@ const en = {
} as const;
const de: Record<keyof typeof en, string> = {
"Form instance": "Formularinstanz",
"Forms runtime": "Formularlaufzeit",
"i18n:govoplan-forms-runtime.forms": "Formulare",
"i18n:govoplan-forms-runtime.loading_reason": "Formulardaten werden noch geladen.",
"i18n:govoplan-forms-runtime.saving_reason": "Eine Formularaktion läuft noch.",