@@ -8,7 +8,8 @@ import { Handle, NodeProps, Position, useReactFlow } from "@xyflow/react";
8
8
import { useState } from "react" ;
9
9
import { EditableNodeTitle } from "../components/EditableNodeTitle" ;
10
10
import { NodeActionMenu } from "../NodeActionMenu" ;
11
- import type { SendEmailNode } from "./types" ;
11
+ import { helpTooltipContent , type SendEmailNode } from "./types" ;
12
+ import { HelpTooltip } from "@/components/HelpTooltip" ;
12
13
13
14
function SendEmailNode ( { id, data } : NodeProps < SendEmailNode > ) {
14
15
const { updateNodeData } = useReactFlow ( ) ;
@@ -69,7 +70,7 @@ function SendEmailNode({ id, data }: NodeProps<SendEmailNode>) {
69
70
} }
70
71
/>
71
72
</ div >
72
- < div className = "space-y-1 " >
73
+ < div className = "space-y-2 " >
73
74
< Label className = "text-xs text-slate-300" > Recipients</ Label >
74
75
< Input
75
76
onChange = { ( event ) => {
@@ -84,7 +85,7 @@ function SendEmailNode({ id, data }: NodeProps<SendEmailNode>) {
84
85
/>
85
86
</ div >
86
87
< Separator />
87
- < div className = "space-y-1 " >
88
+ < div className = "space-y-2 " >
88
89
< Label className = "text-xs text-slate-300" > Subject</ Label >
89
90
< Input
90
91
onChange = { ( event ) => {
@@ -98,7 +99,7 @@ function SendEmailNode({ id, data }: NodeProps<SendEmailNode>) {
98
99
className = "nopan text-xs"
99
100
/>
100
101
</ div >
101
- < div className = "space-y-1 " >
102
+ < div className = "space-y-2 " >
102
103
< Label className = "text-xs text-slate-300" > Body</ Label >
103
104
< Input
104
105
onChange = { ( event ) => {
@@ -113,8 +114,11 @@ function SendEmailNode({ id, data }: NodeProps<SendEmailNode>) {
113
114
/>
114
115
</ div >
115
116
< Separator />
116
- < div className = "space-y-1" >
117
- < Label className = "text-xs text-slate-300" > File Attachments</ Label >
117
+ < div className = "space-y-2" >
118
+ < div className = "flex gap-2" >
119
+ < Label className = "text-xs text-slate-300" > File Attachments</ Label >
120
+ < HelpTooltip content = { helpTooltipContent [ "fileAttachments" ] } />
121
+ </ div >
118
122
< Input
119
123
value = { inputs . fileAttachments }
120
124
onChange = { ( event ) => {
0 commit comments