fix(webui): emphasize temporary chat expiry

This commit is contained in:
Xubin Ren
2026-08-08 23:20:59 +08:00
parent 92eb91338a
commit af52fbcbc4
12 changed files with 40 additions and 11 deletions
+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"));