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:03 +02:00
parent c8059c8afc
commit 6e48c04af8
2 changed files with 18 additions and 4 deletions
+6 -4
View File
@@ -14,6 +14,7 @@ import { Link, useLocation } from "react-router";
import {
DismissibleAlert,
DocumentationHelpLink,
TextWithHelp,
IconButton,
LoadingFrame,
dispatchQuickAccessResult,
@@ -308,7 +309,11 @@ export default function QuickAccessRail({ settings, auth, tools, launchContext }
>
<div className="quick-access-tool-heading">
<div>
<strong>{translateText(tool.label)}</strong>
<TextWithHelp help={metadata?.helpContextId ? (
<DocumentationHelpLink reference={{ contextId: metadata.helpContextId, moduleId: tool.module_id }} />
) : undefined}>
<strong>{translateText(tool.label)}</strong>
</TextWithHelp>
{recommendedToolIds.has(tool.id) ? (
<span className="quick-access-recommended">
{translateText("i18n:govoplan-quick-access.recommended_for_view")}
@@ -316,9 +321,6 @@ export default function QuickAccessRail({ settings, auth, tools, launchContext }
) : null}
{tool.description ? <small>{translateText(tool.description)}</small> : null}
</div>
{metadata?.helpContextId ? (
<DocumentationHelpLink reference={{ contextId: metadata.helpContextId, moduleId: tool.module_id }} />
) : null}
{tool.full_page_path ? (
<button
type="button"