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:
@@ -189,7 +189,7 @@ export default function RetentionPoliciesPanel({ settings, scopeType, canWrite }
|
||||
return (
|
||||
<>
|
||||
<AdminPageLayout
|
||||
title={labels.title}
|
||||
title={labels.title} titleHelp={<DocumentationHelpLink reference={RETENTION_DOCUMENTATION} label="i18n:govoplan-core.open_admin_documentation.6adbdae3" />}
|
||||
description={labels.description}
|
||||
helpContextId="policy.retention"
|
||||
loading={loadingTargets}
|
||||
@@ -209,7 +209,7 @@ export default function RetentionPoliciesPanel({ settings, scopeType, canWrite }
|
||||
<RefreshCw size={16} />
|
||||
</Button>
|
||||
)}
|
||||
<DocumentationHelpLink reference={RETENTION_DOCUMENTATION} label="i18n:govoplan-core.open_admin_documentation.6adbdae3" />
|
||||
|
||||
</>
|
||||
}
|
||||
>
|
||||
@@ -226,9 +226,9 @@ export default function RetentionPoliciesPanel({ settings, scopeType, canWrite }
|
||||
{scopeType === "system" && (
|
||||
<div className="retention-run-section">
|
||||
<Card
|
||||
title="Retention execution"
|
||||
title="Retention execution" titleHelp={<DocumentationHelpLink reference={RETENTION_DOCUMENTATION} label="i18n:govoplan-core.open_admin_documentation.6adbdae3" />}
|
||||
helpContextId="policy.retention.execution"
|
||||
actions={<DocumentationHelpLink reference={RETENTION_DOCUMENTATION} label="i18n:govoplan-core.open_admin_documentation.6adbdae3" />}
|
||||
|
||||
>
|
||||
<p className="muted small-note">Run the saved effective retention policy against retained platform data.</p>
|
||||
<div className="button-row compact-actions subsection-bottom-actions">
|
||||
|
||||
@@ -315,7 +315,7 @@ export default function ViewPoliciesPanel({ settings, scopeType, canWrite }: Pro
|
||||
return (
|
||||
<>
|
||||
<AdminPageLayout
|
||||
title={`${scopeLabel} View policy`}
|
||||
title={`${scopeLabel} View policy`} titleHelp={<DocumentationHelpLink reference={DOCUMENTATION} label="Open View policy documentation" />}
|
||||
description="Control which Views and surfaces are available, forced by assignment, selectable, editable, derivable, or workflow-activatable at this scope."
|
||||
loading={loading}
|
||||
error={error}
|
||||
@@ -329,7 +329,7 @@ export default function ViewPoliciesPanel({ settings, scopeType, canWrite }: Pro
|
||||
<Button onClick={() => void prepareResetPolicy()} disabled={!canWrite || !state?.id || busy}><Trash2 size={16} /> Use inherited</Button>
|
||||
<Button helpContextId="policy.impact-preview.action.preview" onClick={() => void previewImpact()} disabled={!canWrite || !dirty || busy}><ScanSearch size={16} /> Preview impact</Button>
|
||||
<Button variant="primary" onClick={() => void save()} disabled={!canWrite || !dirty || busy || !previewCurrent} disabledReason={dirty && !previewCurrent ? "Preview the current draft before saving." : undefined}><Save size={16} /> {busy ? "Working..." : "Save"}</Button>
|
||||
<DocumentationHelpLink reference={DOCUMENTATION} label="Open View policy documentation" />
|
||||
|
||||
</>
|
||||
}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user