mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-04 10:52:17 +02:00
chore: improve ux of workflow editor
This commit is contained in:
parent
5c1fe2c6af
commit
be1699aafc
17 changed files with 417 additions and 93 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue