add control buttons to debugger; change 'cede control' text (#3226)
This commit is contained in:
@@ -362,7 +362,7 @@ function BrowserStream({
|
|||||||
size="sm"
|
size="sm"
|
||||||
>
|
>
|
||||||
<ExitIcon className="mr-2 h-4 w-4" />
|
<ExitIcon className="mr-2 h-4 w-4" />
|
||||||
cede control
|
stop controlling
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -565,8 +565,9 @@ function Workspace({
|
|||||||
activeDebugSession.browser_session_id &&
|
activeDebugSession.browser_session_id &&
|
||||||
!cycleBrowser.isPending ? (
|
!cycleBrowser.isPending ? (
|
||||||
<BrowserStream
|
<BrowserStream
|
||||||
interactive={interactor === "human"}
|
interactive={false}
|
||||||
browserSessionId={activeDebugSession.browser_session_id}
|
browserSessionId={activeDebugSession.browser_session_id}
|
||||||
|
showControlButtons={true}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<div className="flex h-full w-full flex-col items-center justify-center gap-2 pb-2 pt-4 text-sm text-slate-400">
|
<div className="flex h-full w-full flex-col items-center justify-center gap-2 pb-2 pt-4 text-sm text-slate-400">
|
||||||
|
|||||||
Reference in New Issue
Block a user