fix(ui): align workflow and inspector semantic help

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:29 +02:00
parent b2582a278e
commit cd59137d4c
5 changed files with 41 additions and 16 deletions
@@ -4,6 +4,7 @@ import {
ActionToolbar,
Button,
DocumentationHelpLink,
TextWithHelp,
DismissibleAlert,
FormField,
ReferenceMultiSelect,
@@ -212,17 +213,18 @@ export default function WorkflowInspector({
<ActionToolbar surface="section-header" className="workflow-panel-heading">
<span>
<strong>Inspector</strong>
<small>{definition?.label ?? node.type}</small>
<TextWithHelp help={semanticDefinitionId && semanticStepAvailable ? <DocumentationHelpLink
reference={{
contextId: semanticHelpContext(semanticDefinitionId, node.id),
documentationType: "user"
}}
label="Open step meaning"
/> : undefined}>
<small>{definition?.label ?? node.type}</small>
</TextWithHelp>
</span>
<span className="workflow-inspector-actions">
{semanticDefinitionId && semanticStepAvailable ? <>
<DocumentationHelpLink
reference={{
contextId: semanticHelpContext(semanticDefinitionId, node.id),
documentationType: "user"
}}
label="Open step meaning"
/>
<a
className="btn btn-secondary"
href={semanticAuthoringHref(semanticDefinitionId, node.id)}
+7 -6
View File
@@ -602,8 +602,8 @@ export default function WorkflowPage({
variant="collection"
refreshable
reloadAction={{ onReload: () => void reload(draft?.id), loading: loading || working }}
title="Workflows"
contextActions={<>
<strong>Workflows</strong>
{hasScope(auth, "workflow:instance:admin") ? (
<IconButton
label="Reconcile module standards"
@@ -614,7 +614,7 @@ export default function WorkflowPage({
/>
) : null}
</>}
helpAction={<DocumentationHelpLink
titleHelp={<DocumentationHelpLink
reference={{ topicId: "workflow.editor", documentationType: "user" }}
label="Open Workflow documentation"
/>}
@@ -709,14 +709,15 @@ export default function WorkflowPage({
aria-label="Workflow description"
/>
</span>}
helpAction={draft.id ? <>
<DocumentationHelpLink
title="Workflow"
titleHelp={draft.id ? <DocumentationHelpLink
reference={{
contextId: semanticHelpContext(draft.id),
documentationType: "user"
}}
label="Open workflow meaning"
/>
/> : undefined}
helpAction={draft.id ?
<a
className="btn btn-secondary"
href={semanticAuthoringHref(draft.id)}
@@ -725,7 +726,7 @@ export default function WorkflowPage({
>
<BookOpen size={16} aria-hidden="true" /> Document meaning
</a>
</> : undefined}
: undefined}
primaryActions={<span className="workflow-command-bar">
{draft.id ? (
<select