feat(ux): Finalize advanced UX with plot zoom, export, and shadcn UI consistency.

This commit is contained in:
Yunxiao Xu
2026-02-13 03:58:55 -08:00
parent e16b19ed66
commit 69c75bd4fe
9 changed files with 578 additions and 131 deletions

View File

@@ -1,10 +1,15 @@
import { describe, it, expect, vi, beforeEach } from "vitest"
import { describe, it, expect, vi, beforeEach, type MockInstance } from "vitest"
import api from "./api"
import { ChatService } from "./chat"
import { AxiosResponse } from "axios"
import type { AxiosResponse } from "axios"
vi.mock("./api")
const mockedApi = vi.mocked(api)
const mockedApi = api as unknown as {
get: MockInstance<typeof api.get>
post: MockInstance<typeof api.post>
patch: MockInstance<typeof api.patch>
delete: MockInstance<typeof api.delete>
}
describe("ChatService History Management", () => {
beforeEach(() => {