Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
updated short and long input to match others, reverted triggerutils c…
…hange
  • Loading branch information
waleedlatif1 committed Feb 10, 2026
commit dd1623904467172d4107c5572c019abbe29fb536
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,8 @@ export function LongInput({
ref={overlayRef}
className={cn(
'absolute inset-0 box-border overflow-auto whitespace-pre-wrap break-words border border-transparent bg-transparent px-[8px] py-[8px] font-medium font-sans text-sm',
isPreview || disabled ? 'opacity-50' : 'pointer-events-none'
(isPreview || disabled) && 'opacity-50',
!(isPreview || disabled) && 'pointer-events-none'
)}
style={{
fontFamily: 'inherit',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,8 @@ export const ShortInput = memo(function ShortInput({
ref={overlayRef}
className={cn(
'absolute inset-0 flex items-center overflow-x-auto bg-transparent px-[8px] py-[6px] pr-3 font-medium font-sans text-foreground text-sm [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden',
isPreview || disabled ? 'opacity-50' : 'pointer-events-none'
(isPreview || disabled) && 'opacity-50',
!(isPreview || disabled) && 'pointer-events-none'
)}
Comment thread
waleedlatif1 marked this conversation as resolved.
>
<div className='min-w-fit whitespace-pre'>{formattedText}</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import {
isSubBlockFeatureEnabled,
isSubBlockVisibleForMode,
} from '@/lib/workflows/subblocks/visibility'
import { TriggerUtils } from '@/lib/workflows/triggers/triggers'
import { DELETED_WORKFLOW_LABEL } from '@/app/workspace/[workspaceId]/logs/utils'
import { SubBlock } from '@/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components'
import { PreviewContextMenu } from '@/app/workspace/[workspaceId]/w/components/preview/components/preview-context-menu'
Expand Down Expand Up @@ -1142,7 +1141,7 @@ function PreviewEditorContent({
hasAdvancedValues(blockConfig.subBlocks, rawValues, canonicalIndex)

const isPureTriggerBlock = blockConfig.triggers?.enabled && blockConfig.category === 'triggers'
const effectiveTrigger = TriggerUtils.isTriggerBlock(block)
const effectiveTrigger = block.triggerMode === true

const visibleSubBlocks = blockConfig.subBlocks.filter((subBlock) => {
if (subBlock.hidden || subBlock.hideFromPreview) return false
Expand Down