chore: improve ux of workflow editor

This commit is contained in:
Abhishek Kumar 2025-11-05 15:22:46 +05:30
parent 5c1fe2c6af
commit be1699aafc
17 changed files with 417 additions and 93 deletions

View file

@ -92,10 +92,13 @@ export const EndCall = memo(({ data, selected, id }: EndCallNodeProps) => {
<NodeContent
selected={selected}
invalid={data.invalid}
highlighted={data.highlighted}
title="End Call"
icon={<OctagonX />}
bgColor="bg-red-300"
hasTargetHandle={true}
onDoubleClick={() => setOpen(true)}
nodeId={id}
>
<div className="text-sm text-muted-foreground">
{data.prompt?.length > 30 ? `${data.prompt.substring(0, 30)}...` : data.prompt}