mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-04 03:35:04 -05:00
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>
This commit is contained in:
@@ -192,10 +192,10 @@ export const ActionBar = memo(
|
||||
</Tooltip.Trigger>
|
||||
<Tooltip.Content side='top'>
|
||||
{(() => {
|
||||
if (disabled) return getTooltipMessage('Run from block')
|
||||
if (disabled) return getTooltipMessage('Run')
|
||||
if (isExecuting) return 'Execution in progress'
|
||||
if (!dependenciesSatisfied) return 'Run previous blocks first'
|
||||
return 'Run from block'
|
||||
if (!dependenciesSatisfied) return 'Disabled: Run Blocks Before'
|
||||
return 'Run'
|
||||
})()}
|
||||
</Tooltip.Content>
|
||||
</Tooltip.Root>
|
||||
|
||||
Reference in New Issue
Block a user