mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 21:04:23 +01:00
feat(sandbox): add the session sandbox control to the desktop composer
The sandbox toggle and resources dialog were only reachable from the mobile composer menu. Add SessionSandboxMenu next to the permission toggle on desktop and share the sandbox menu items with the mobile menu.
This commit is contained in:
1 parent
b21fdf5b94
commit
95a9f6e1ed
11 files changed
+278
-45
No files matched your search
@@ -111,6 +111,10 @@ vi.mock('./ComposerToolsMenu', () => ({
|
||||
ComposerToolsMenu: () => null,
|
||||
}))
|
||||
|
||||
vi.mock('@/components/session/SessionSandboxMenu', () => ({
|
||||
SessionSandboxMenu: () => null,
|
||||
}))
|
||||
|
||||
vi.mock('./PromptSuggestions', () => ({
|
||||
PromptSuggestions: (props: { isOpen: boolean; selectedIndex: number }) => {
|
||||
if (props.isOpen) {
|
||||
|
||||
Reference in new issue
Block a user