feat(app): keep prompt state in tabs (#33566)

This commit is contained in:
Brendan Allan
2026-06-24 09:32:59 +08:00
committed by GitHub
parent 1490752059
commit fed4f4d86b
6 changed files with 132 additions and 7 deletions
@@ -20,6 +20,8 @@ beforeAll(async () => {
mock.module("@solidjs/router", () => ({
useParams: () => ({}),
useSearchParams: () => [{}],
useLocation: () => ({ pathname: "", query: {} }),
useNavigate: () => () => undefined,
}))
mock.module("@opencode-ai/ui/context", () => ({
createSimpleContext: () => ({