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:59 +02:00
parent 3274d30665
commit 1f67eb25d7
3 changed files with 29 additions and 11 deletions
@@ -21,6 +21,7 @@ import { FormGrid,
ConfirmDialog,
Dialog,
DocumentationHelpLink,
TextWithHelp,
FormField,
IconButton,
MetricCard,
@@ -794,7 +795,7 @@ export default function PostboxAdminPanel({
return (
<AdminPageLayout
title="Postboxes"
title="Postboxes" titleHelp={<DocumentationHelpLink reference={POSTBOX_ADMIN_DOCUMENTATION} />}
description="Manage durable organization-function addresses and reusable templates."
loading={loading}
error={error}
@@ -809,7 +810,7 @@ export default function PostboxAdminPanel({
disabled={loading || busy}
disabledReason={postboxBusyReason(loading, busy)}
/>
<DocumentationHelpLink reference={POSTBOX_ADMIN_DOCUMENTATION} />
{mode === "templates" && canManageTemplates ? (
<Button variant="primary" onClick={openNewTemplate} disabled={busy} disabledReason={postboxBusyReason(false, busy)}>
<Plus size={16} /> New template
@@ -1525,9 +1526,10 @@ function TemplateDialog({
<div className="postbox-routing-section">
<div className="postbox-routing-heading">
<div>
<strong>Hierarchy linked copies</strong>
<TextWithHelp as="div" help={<DocumentationHelpLink reference={POSTBOX_FIELD_DOCUMENTATION} />}>
<strong>Hierarchy linked copies</strong>
</TextWithHelp>
<span>Copy to explicitly bounded function Postboxes in one selected structure.</span>
<DocumentationHelpLink reference={POSTBOX_FIELD_DOCUMENTATION} />
</div>
<ToggleSwitch
label="Enable hierarchy linked copies"
@@ -1948,11 +1950,12 @@ function ProtectionConfigurationFields({
<div className="postbox-routing-section">
<div className="postbox-routing-heading">
<div>
<strong>Content protection and hand-over policy</strong>
<TextWithHelp as="div" help={<DocumentationHelpLink reference={POSTBOX_FIELD_DOCUMENTATION} />}>
<strong>Content protection and hand-over policy</strong>
</TextWithHelp>
<span>
The institution chooses the protection boundary. Managed envelope encryption is the recommended standard.
</span>
<DocumentationHelpLink reference={POSTBOX_FIELD_DOCUMENTATION} />
</div>
{selected?.standard ? <StatusBadge status="recommended" label="Standard" /> : null}
</div>
@@ -2156,9 +2159,10 @@ function GroupingPolicyFields({
<div className="postbox-protection-section">
<div className="postbox-routing-heading">
<div>
<strong>Unified-inbox separation</strong>
<TextWithHelp as="div" help={<DocumentationHelpLink reference={POSTBOX_FIELD_DOCUMENTATION} />}>
<strong>Unified-inbox separation</strong>
</TextWithHelp>
<span>Keep source containers and institutional responsibilities visibly separated where required.</span>
<DocumentationHelpLink reference={POSTBOX_FIELD_DOCUMENTATION} />
</div>
</div>
<FormGrid>
+3 -3
View File
@@ -680,11 +680,11 @@ export default function PostboxPage({
refreshable
reloadAction={{ onReload: () => void loadDirectory(), loading: loadingDirectory || busy }}
className="postbox-bar"
contextActions={<div className="postbox-bar-title">
title={<span className="postbox-bar-title">
<Inbox size={17} aria-hidden="true" />
<strong>Postbox</strong>
</div>}
helpAction={<DocumentationHelpLink reference={POSTBOX_DOCUMENTATION} />}
</span>}
titleHelp={<DocumentationHelpLink reference={POSTBOX_DOCUMENTATION} />}
createAction={<IconButton
label="New unified view"
icon={<Plus size={16} />}