diff --git a/apps/client/src/widgets/dialogs/branch_prefix.tsx b/apps/client/src/widgets/dialogs/branch_prefix.tsx index 5aba41c49..4fed71b18 100644 --- a/apps/client/src/widgets/dialogs/branch_prefix.tsx +++ b/apps/client/src/widgets/dialogs/branch_prefix.tsx @@ -34,6 +34,7 @@ function BranchPrefixDialogComponent({ branch }: BranchPrefixDialogProps) { size="lg" onShown={() => branchInput.current?.focus()} onSubmit={onSubmit} + helpPageId="TBwsyfadTA18" footer={} >
diff --git a/apps/client/src/widgets/react/Modal.tsx b/apps/client/src/widgets/react/Modal.tsx index 072b8b688..f3f71b223 100644 --- a/apps/client/src/widgets/react/Modal.tsx +++ b/apps/client/src/widgets/react/Modal.tsx @@ -14,9 +14,10 @@ interface ModalProps { */ onSubmit?: () => void; onShown?: () => void; + helpPageId?: string; } -export default function Modal({ children, className, size, title, footer, onShown, onSubmit }: ModalProps) { +export default function Modal({ children, className, size, title, footer, onShown, onSubmit, helpPageId }: ModalProps) { const modalRef = useRef(null); if (onShown) { @@ -34,6 +35,9 @@ export default function Modal({ children, className, size, title, footer, onShow
{title}
+ {helpPageId && ( + + )}