Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Add curator rollout and inherited consent controls (SKY-18570) (#8963)
Andrew Neilsona4fe63750c2e
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/WorkflowSettingsEditor.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/WorkflowSettingsEditor.tsxindex 64cef28a7..4f9d0d1ed 100644--- a/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/WorkflowSettingsEditor.tsx+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/WorkflowSettingsEditor.tsx@@ -1,3 +1,4 @@+import { usePageSlots } from "@/store/PageSlots";import { useWorkflowScopeReadOnly } from "../../WorkflowScopeContext";import { RetryPolicyEditor } from "./RetryPolicyEditor";import { collectKnownErrorCodes } from "./retryPolicyUtils";@@ -111,6 +112,7 @@ function WorkflowSettingsEditorBody({data: WorkflowStartNodeData;}) {const workflowPermanentId = useWorkflowPermanentId();+ const { workflowCuratorSettings: CuratorSettings } = usePageSlots();const nodes = useNodes<AppNode>();const readOnly = useWorkflowScopeReadOnly();const mutationLocked = useWorkflowYamlEditorStore(selectEditorMutationLocked);@@ -183,6 +185,12 @@ function WorkflowSettingsEditorBody({onKeyDownCapture={preventLockedInteraction}onChangeCapture={preventLockedInteraction}>+ {CuratorSettings && workflowPermanentId && (+ <CuratorSettings+ workflowPermanentId={workflowPermanentId}+ readOnly={readOnly || !data.editable || mutationLocked}+ />+ )}<RetryPolicyEditorvalue={data.retryPolicy ?? null}onChange={(retryPolicy) => update({ retryPolicy })}diff --git a/skyvern-frontend/src/store/PageSlots.ts b/skyvern-frontend/src/store/PageSlots.tsindex 27698a137..f20255891 100644--- a/skyvern-frontend/src/store/PageSlots.ts+++ b/skyvern-frontend/src/store/PageSlots.ts@@ -47,6 +47,9 @@ export type PermissionsState =| Readonly<{ status: "ready"; data: PermissionsResponse }>;export type PageSlots = {+ workflowCuratorSettings?: React.ComponentType<+ Readonly<{ workflowPermanentId: string; readOnly: boolean }>+ >;workflowAnalyticsPanel?: React.ComponentType<WorkflowAnalyticsPanelProps>;workflowTriggersPanel?: React.ComponentType<WorkflowTriggersPanelProps>;workflowRunsFilterControls?: React.ComponentType;