From 09b8f07e1eb853e8f70439c1a1cada59d3ac2b48 Mon Sep 17 00:00:00 2001 From: chihlasm Date: Wed, 25 Feb 2026 13:50:20 -0500 Subject: [PATCH] feat: add Library Visibility select to procedural StepEditor Co-Authored-By: Claude Sonnet 4.6 --- .../procedural-editor/StepEditor.tsx | 22 +++++++++++++++++++ frontend/src/types/tree.ts | 1 + 2 files changed, 23 insertions(+) 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 {