diff --git a/frontend/src/components/procedural-editor/StepEditor.tsx b/frontend/src/components/procedural-editor/StepEditor.tsx index 57c87929..6ce284ac 100644 --- a/frontend/src/components/procedural-editor/StepEditor.tsx +++ b/frontend/src/components/procedural-editor/StepEditor.tsx @@ -254,6 +254,28 @@ export function StepEditor({ step, stepNumber, onUpdate, onCollapse, availableVa + + {/* Library Visibility */} +
+ + +

+ Controls visibility in the step library. Defaults to the flow's own visibility setting. +

+
)} diff --git a/frontend/src/types/tree.ts b/frontend/src/types/tree.ts index 8328163e..f9bd54ff 100644 --- a/frontend/src/types/tree.ts +++ b/frontend/src/types/tree.ts @@ -121,6 +121,7 @@ export interface ProceduralStep { notes_enabled?: boolean section_header?: string reference_url?: string + library_visibility?: 'team' | 'public' } export interface CustomProceduralStep {