Skip to content

Commit f07a07a

Browse files
committed
reconcile with other merge
1 parent 2a2d718 commit f07a07a

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/control-bar/components/deploy-modal/deploy-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export function DeployModal({
100100
const [previewing, setPreviewing] = useState(false)
101101
const [previewDeployedState, setPreviewDeployedState] = useState<WorkflowState | null>(null)
102102
const [currentPage, setCurrentPage] = useState(1)
103-
const itemsPerPage = 10
103+
const itemsPerPage = 5
104104

105105
const getInputFormatExample = () => {
106106
let inputFormatExample = ''

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/training-controls/training-modal.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ export function TrainingModal() {
350350

351351
{isTraining && (
352352
<>
353-
<div className='rounded-lg border bg-orange-50 p-4 dark:bg-orange-950/30 mt-4'>
353+
<div className='mt-4 rounded-lg border bg-orange-50 p-4 dark:bg-orange-950/30'>
354354
<p className='mb-2 font-medium text-orange-700 dark:text-orange-300'>
355355
Recording: {currentTitle}
356356
</p>
@@ -376,7 +376,7 @@ export function TrainingModal() {
376376
</div>
377377

378378
{startSnapshot && (
379-
<div className='rounded-lg border p-3 mt-3'>
379+
<div className='mt-3 rounded-lg border p-3'>
380380
<p className='mb-2 font-medium text-sm'>Starting State</p>
381381
<p className='text-muted-foreground text-xs'>
382382
{Object.keys(startSnapshot.blocks).length} blocks, {startSnapshot.edges.length}{' '}
@@ -531,7 +531,7 @@ export function TrainingModal() {
531531
</div>
532532
<div className='flex items-center gap-3'>
533533
{dataset.sentAt && (
534-
<span className='inline-flex items-center rounded-full bg-green-50 px-2 py-0.5 text-green-700 text-xs ring-1 ring-inset ring-green-600/20 dark:bg-green-900/20 dark:text-green-300'>
534+
<span className='inline-flex items-center rounded-full bg-green-50 px-2 py-0.5 text-green-700 text-xs ring-1 ring-green-600/20 ring-inset dark:bg-green-900/20 dark:text-green-300'>
535535
<CheckCircle2 className='mr-1 h-3 w-3' /> Sent
536536
</span>
537537
)}

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/sub-block/components/input-mapping/input-mapping.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ function InputMappingField({
291291
<Input
292292
ref={inputRef}
293293
className={cn(
294-
'allow-scroll h-9 w-full overflow-auto border-0 bg-muted/50 text-transparent caret-foreground placeholder:text-muted-foreground/50 focus:bg-background',
295-
'transition-colors duration-200'
294+
'allow-scroll h-9 w-full overflow-auto text-transparent caret-foreground placeholder:text-muted-foreground/50',
295+
'transition-colors duration-200 border border-input bg-white dark:bg-background dark:border-input/60'
296296
)}
297297
type='text'
298298
value={value}

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/sub-block/components/starter/input-format.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ export function FieldFormat({
312312
onChange={(e) => updateField(field.id, 'name', e.target.value)}
313313
placeholder={placeholder}
314314
disabled={isPreview || disabled}
315-
className='h-9 placeholder:text-muted-foreground/50'
315+
className='h-9 border border-input bg-white placeholder:text-muted-foreground/50 dark:bg-background dark:border-input/60'
316316
/>
317317
</div>
318318

@@ -413,7 +413,7 @@ export function FieldFormat({
413413
}
414414
disabled={isPreview || disabled}
415415
className={cn(
416-
'min-h-[120px] font-mono text-sm placeholder:text-muted-foreground/50',
416+
'min-h-[120px] font-mono text-sm placeholder:text-muted-foreground/50 border border-input bg-white dark:bg-background dark:border-input/60',
417417
dragHighlight[field.id] && 'ring-2 ring-blue-500 ring-offset-2',
418418
isConnecting &&
419419
config?.connectionDroppable !== false &&
@@ -451,7 +451,7 @@ export function FieldFormat({
451451
placeholder={valuePlaceholder}
452452
disabled={isPreview || disabled}
453453
className={cn(
454-
'allow-scroll h-9 w-full overflow-auto text-transparent caret-foreground placeholder:text-muted-foreground/50',
454+
'allow-scroll h-9 w-full overflow-auto text-transparent caret-foreground placeholder:text-muted-foreground/50 border border-input bg-white dark:bg-background dark:border-input/60',
455455
dragHighlight[field.id] && 'ring-2 ring-blue-500 ring-offset-2',
456456
isConnecting &&
457457
config?.connectionDroppable !== false &&

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/workflow-block.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ export function WorkflowBlock({ id, data }: NodeProps<WorkflowBlockProps>) {
632632
const [workflowIdFromStore] = useSubBlockValue<string>(id, 'workflowId')
633633

634634
// Determine if this is a workflow block (child workflow selector) and fetch child status
635-
const isWorkflowSelector = type === 'workflow'
635+
const isWorkflowSelector = type === 'workflow' || type === 'workflow_input'
636636
let childWorkflowId: string | undefined
637637
if (!data.isPreview) {
638638
// Use store value for real-time updates

0 commit comments

Comments
 (0)