Skip to content

Commit bcee322

Browse files
committed
Fix appearance of startup error message
1 parent 9fbc288 commit bcee322

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

src/renderer/components/Experiment/Interactive/InteractiveJobCard.tsx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,11 @@ export default function InteractiveJobCard({
316316
job.status === 'INTERACTIVE' ? 99 : undefined
317317
}
318318
/>
319+
{tunnelTimedOut && !tunnelReady && (
320+
<Typography level="body-xs" color="warning" sx={{ mt: 0.5 }}>
321+
Startup may have stalled. Check Logs.
322+
</Typography>
323+
)}
319324
</Box>
320325

321326
{showActions && (
@@ -332,21 +337,15 @@ export default function InteractiveJobCard({
332337
</Button>
333338
<Button
334339
variant="soft"
335-
color={
336-
tunnelReady
337-
? 'success'
338-
: tunnelTimedOut
339-
? 'warning'
340-
: 'neutral'
341-
}
340+
color={tunnelReady ? 'success' : 'neutral'}
342341
size="sm"
343342
disabled={!tunnelReady}
344343
onClick={() => setInteractOpen(true)}
345344
>
346345
{tunnelReady
347346
? 'Interact'
348347
: tunnelTimedOut
349-
? 'May have failed — check Logs'
348+
? 'Waiting…'
350349
: 'Launching…'}
351350
</Button>
352351
</Stack>

0 commit comments

Comments
 (0)