From dcf3f5b80ef851cb7e2e537fc8575aefba7d407f Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sat, 23 May 2026 17:44:08 +0000 Subject: [PATCH 1/2] fix: show Killed/Paused instead of Stopped in sandbox detail header The STATUS badge showed 'STOPPED' for both killed and paused sandboxes. Now shows the specific state: - Running: green badge (unchanged) - Paused: yellow/warning badge (already worked) - Killed: red/error 'KILLED' badge (was showing 'STOPPED') Also updates: - Header label from 'stopped at' to 'killed at' for killed sandboxes - Filesystem banner from 'Sandbox Stopped' to 'Sandbox Killed'/'Sandbox Paused' Co-Authored-By: jakub@e2b.dev --- src/features/dashboard/sandbox/header/header.tsx | 2 +- src/features/dashboard/sandbox/header/status.tsx | 9 +++++++++ .../dashboard/sandbox/inspect/stopped-banner.tsx | 7 +++++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/features/dashboard/sandbox/header/header.tsx b/src/features/dashboard/sandbox/header/header.tsx index ae0362a5e..5de450f1a 100644 --- a/src/features/dashboard/sandbox/header/header.tsx +++ b/src/features/dashboard/sandbox/header/header.tsx @@ -21,7 +21,7 @@ export default function SandboxDetailsHeader() { const runningLabel = isInitialLoading || isRunning ? 'running for' : 'ran for' const timeoutLabel = isKilled - ? 'stopped at' + ? 'killed at' : isPaused ? 'paused at' : 'timeout in' diff --git a/src/features/dashboard/sandbox/header/status.tsx b/src/features/dashboard/sandbox/header/status.tsx index da92dd441..cc33c542c 100644 --- a/src/features/dashboard/sandbox/header/status.tsx +++ b/src/features/dashboard/sandbox/header/status.tsx @@ -17,6 +17,15 @@ export default function Status() { ) } + if (state === 'killed') { + return ( + + + Killed + + ) + } + return ( 0 + const stoppedLabel = + sandboxInfo?.state === 'paused' ? 'Sandbox Paused' : sandboxInfo?.state === 'killed' ? 'Sandbox Killed' : 'Sandbox Stopped' + return ( {show && ( @@ -48,7 +51,7 @@ export function StoppedBanner({ rootNodeCount }: StoppedBannerProps) { {showWatcherError ? 'Live filesystem updates disabled' - : 'Sandbox Stopped'} + : stoppedLabel} From 1872abc94dbcb806e7e1b13b3b295b2cb8e5324c Mon Sep 17 00:00:00 2001 From: "devin-ai-integration[bot]" <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sat, 23 May 2026 17:44:40 +0000 Subject: [PATCH 2/2] style: apply biome formatting --- src/features/dashboard/sandbox/inspect/stopped-banner.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/features/dashboard/sandbox/inspect/stopped-banner.tsx b/src/features/dashboard/sandbox/inspect/stopped-banner.tsx index 1a46d97d0..c9b1c9683 100644 --- a/src/features/dashboard/sandbox/inspect/stopped-banner.tsx +++ b/src/features/dashboard/sandbox/inspect/stopped-banner.tsx @@ -30,7 +30,11 @@ export function StoppedBanner({ rootNodeCount }: StoppedBannerProps) { const showWatcherError = watcherError && isRunning && rootNodeCount > 0 const stoppedLabel = - sandboxInfo?.state === 'paused' ? 'Sandbox Paused' : sandboxInfo?.state === 'killed' ? 'Sandbox Killed' : 'Sandbox Stopped' + sandboxInfo?.state === 'paused' + ? 'Sandbox Paused' + : sandboxInfo?.state === 'killed' + ? 'Sandbox Killed' + : 'Sandbox Stopped' return (