fix(webui): save settings when editing completes (NAN-323) (#6384)

* fix(webui): save settings when editing completes (NAN-323)

* fix(webui): close settings completion and verification gaps

* refactor(webui): simplify settings edit ownership
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-22 13:39:46 +08:00
1 parent 26e1f41a00
commit c6babb20e8
34 files changed
+1363 -388

No files matched your search

+4 -2
View File
@@ -1,11 +1,13 @@
import { render, waitFor } from "@testing-library/react";
import { expect, it } from "vitest";
import { beforeAll, expect, it } from "vitest";
import { MarkdownText } from "@/components/MarkdownText";
import { MarkdownText, preloadMarkdownText } from "@/components/MarkdownText";
import mixedMathFixture from "@/tests/fixtures/markdown-math-mixed.md?raw";
const mixedMath = mixedMathFixture.replaceAll("\r\n", "\n");
beforeAll(preloadMarkdownText);
it("retains a rendered TeX formula when an assistant response completes in streaming layout", async () => {
const source = String.raw`Before