Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,9 @@ export function CreateModal({ open, onOpenChange, onKnowledgeBaseCreated }: Crea
placeholder='100'
{...register('minChunkSize', { valueAsNumber: true })}
className={errors.minChunkSize ? 'border-red-500' : ''}
autoComplete='off'
data-form-type='other'
name='min-chunk-size'
/>
{errors.minChunkSize && (
<p className='mt-1 text-red-500 text-xs'>{errors.minChunkSize.message}</p>
Expand All @@ -444,6 +447,9 @@ export function CreateModal({ open, onOpenChange, onKnowledgeBaseCreated }: Crea
placeholder='1024'
{...register('maxChunkSize', { valueAsNumber: true })}
className={errors.maxChunkSize ? 'border-red-500' : ''}
autoComplete='off'
data-form-type='other'
name='max-chunk-size'
/>
{errors.maxChunkSize && (
<p className='mt-1 text-red-500 text-xs'>{errors.maxChunkSize.message}</p>
Expand All @@ -460,6 +466,9 @@ export function CreateModal({ open, onOpenChange, onKnowledgeBaseCreated }: Crea
placeholder='200'
{...register('overlapSize', { valueAsNumber: true })}
className={errors.overlapSize ? 'border-red-500' : ''}
autoComplete='off'
data-form-type='other'
name='overlap-size'
/>
{errors.overlapSize && (
<p className='mt-1 text-red-500 text-xs'>{errors.overlapSize.message}</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ export function EvalInput({
onBlur={(e) => handleRangeBlur(metric.id, 'min', e.target.value)}
disabled={isPreview || disabled}
className='placeholder:text-muted-foreground/50'
autoComplete='off'
data-form-type='other'
name='eval-range-min'
/>
</div>
<div className='space-y-1'>
Expand All @@ -203,6 +206,9 @@ export function EvalInput({
onBlur={(e) => handleRangeBlur(metric.id, 'max', e.target.value)}
disabled={isPreview || disabled}
className='placeholder:text-muted-foreground/50'
autoComplete='off'
data-form-type='other'
name='eval-range-max'
/>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,9 @@ export function ScheduleModal({
type='number'
min='1'
className='h-10'
autoComplete='off'
data-form-type='other'
name='minutes-interval'
/>
</div>
)}
Expand All @@ -455,6 +458,9 @@ export function ScheduleModal({
min='0'
max='59'
className='h-10'
autoComplete='off'
data-form-type='other'
name='hourly-minute'
/>
<p className='text-muted-foreground text-xs'>
Specify which minute of each hour the workflow should run (0-59)
Expand Down Expand Up @@ -530,6 +536,9 @@ export function ScheduleModal({
min='1'
max='31'
className='h-10'
autoComplete='off'
data-form-type='other'
name='monthly-day'
/>
<p className='text-muted-foreground text-xs'>
Specify which day of the month the workflow should run (1-31)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ export function EditMemberLimitDialog({
max={10000}
step='1'
placeholder={planMinimum.toString()}
autoComplete='off'
data-form-type='other'
name='member-usage-limit'
/>
</div>
<p className='text-muted-foreground text-xs'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ export function UsageLimitEditor({
min={minimumLimit}
step='1'
disabled={isSaving}
autoComplete='off'
data-form-type='other'
name='usage-limit'
/>
) : (
<span className='font-medium text-sm'>{currentLimit}</span>
Expand Down