-
Notifications
You must be signed in to change notification settings - Fork 798
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔄 synced local 'skyvern-frontend/src/' with remote 'skyvern-frontend/…
…src/' <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add `ActionNode` and `ValidationNode` to the workflow editor with error handling and node library updates. > > - **New Features**: > - Add `ActionNode` and `ValidationNode` components in `ActionNode/ActionNode.tsx` and `ValidationNode/ValidationNode.tsx`. > - Add `ClickIcon` component in `ClickIcon.tsx` for use in `ActionNode`. > - **Workflow Editor**: > - Update `FlowRenderer.tsx` to handle `ActionNode` and `ValidationNode` types. > - Add error checks for `ActionNode` and `ValidationNode` in `getWorkflowErrors()`. > - Update `WorkflowNodeLibraryPanel.tsx` to include `ActionNode` and `ValidationNode` in the node library. > - **Node Types**: > - Define `ActionNodeData` and `ValidationNodeData` in `ActionNode/types.ts` and `ValidationNode/types.ts`. > - Update `nodes/index.ts` to include `ActionNode` and `ValidationNode`. > - **Miscellaneous**: > - Remove `editable` property from several node data types in `CodeBlockNode/types.ts`, `DownloadNode/types.ts`, etc. > - Update `workflowEditorUtils.ts` to support new node types in node creation and conversion functions. > - Change `className` for `QuestionMarkCircledIcon` in `HelpTooltip.tsx`. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=Skyvern-AI%2Fskyvern-cloud&utm_source=github&utm_medium=referral)<sup> for 0684180f9b36b3fc8d9caec0488fdb5e6c6681fc. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
- Loading branch information
1 parent
c732b41
commit 865e10c
Showing
12 changed files
with
554 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
type Props = { | ||
className?: string; | ||
}; | ||
|
||
function ClickIcon({ className }: Props) { | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="24" | ||
height="24" | ||
viewBox="0 0 24 24" | ||
fill="none" | ||
className={className} | ||
> | ||
<path | ||
d="M9 3.5V2M5.06066 5.06066L4 4M5.06066 13L4 14.0607M13 5.06066L14.0607 4M3.5 9H2M8.5 8.5L12.6111 21.2778L15.5 18.3889L19.1111 22L22 19.1111L18.3889 15.5L21.2778 12.6111L8.5 8.5Z" | ||
stroke="#F8FAFC" | ||
strokeWidth="1.6" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
/> | ||
</svg> | ||
); | ||
} | ||
|
||
export { ClickIcon }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.