fix(webui): emphasize temporary chat expiry

This commit is contained in:
Xubin Ren committed 2026-08-08 23:20:59 +08:00
1 parent 92eb91338a
commit af52fbcbc4
12 files changed
+40 -11

No files matched your search

+3
View File
@@ -526,6 +526,9 @@ describe("App layout", () => {
const temporaryTooltip = await screen.findByRole("tooltip");
expect(temporaryTooltip).toHaveTextContent("Temporary chat");
expect(temporaryTooltip).toHaveTextContent("Not saved to history or memory");
expect(within(temporaryTooltip).getByText(
"Reloading, closing, or losing the connection ends these chats.",
)).toHaveClass("font-medium");
await user.unhover(heroTemporaryToggle);
fireEvent.click(within(sidebar).getByText("Existing topic"));