Compare commits

...

3 Commits

Author SHA1 Message Date
waleed
f3d7673331 ack pr comment 2026-02-03 20:21:02 -08:00
waleed
40983b4b99 update other loc to match 2026-02-03 20:15:33 -08:00
Cursor Agent
68bdf50684 feat(action-bar): change Run button label and hover tooltip
- Changed 'Run from block' to 'Run' in tooltip
- Updated disabled state hover to show 'Disabled: Run Blocks Before'

Co-authored-by: Emir Karabeg <emir-karabeg@users.noreply.github.com>
2026-02-04 03:48:13 +00:00
3 changed files with 5 additions and 5 deletions

View File

@@ -192,10 +192,10 @@ export const ActionBar = memo(
</Tooltip.Trigger> </Tooltip.Trigger>
<Tooltip.Content side='top'> <Tooltip.Content side='top'>
{(() => { {(() => {
if (disabled) return getTooltipMessage('Run from block') if (disabled) return getTooltipMessage('Run')
if (isExecuting) return 'Execution in progress' if (isExecuting) return 'Execution in progress'
if (!dependenciesSatisfied) return 'Run previous blocks first' if (!dependenciesSatisfied) return 'Disabled: Run Blocks Before'
return 'Run from block' return 'Run'
})()} })()}
</Tooltip.Content> </Tooltip.Content>
</Tooltip.Root> </Tooltip.Root>

View File

@@ -273,7 +273,7 @@ export function BlockMenu({
} }
}} }}
> >
Run from block Run
</PopoverItem> </PopoverItem>
{/* Hide "Run until" for triggers - they're always at the start */} {/* Hide "Run until" for triggers - they're always at the start */}
{!hasTriggerBlock && ( {!hasTriggerBlock && (

View File

@@ -1173,7 +1173,7 @@ const WorkflowContent = React.memo(() => {
block.parentId && (block.parentType === 'loop' || block.parentType === 'parallel') block.parentId && (block.parentType === 'loop' || block.parentType === 'parallel')
if (isInsideSubflow) return { canRun: false, reason: 'Cannot run from inside subflow' } if (isInsideSubflow) return { canRun: false, reason: 'Cannot run from inside subflow' }
if (!dependenciesSatisfied) return { canRun: false, reason: 'Run previous blocks first' } if (!dependenciesSatisfied) return { canRun: false, reason: 'Disabled: Run Blocks Before' }
if (isNoteBlock) return { canRun: false, reason: undefined } if (isNoteBlock) return { canRun: false, reason: undefined }
if (isExecuting) return { canRun: false, reason: undefined } if (isExecuting) return { canRun: false, reason: undefined }