feat: add chat history management actions

This commit is contained in:
732642856
2026-07-18 04:48:27 +08:00
parent ab9fb187f6
commit 1c46dd4e75
3 changed files with 109 additions and 24 deletions
@@ -0,0 +1,19 @@
from pathlib import Path
PAGE = Path("frontend/src/app/page.tsx")
def test_chat_history_management_actions_are_exposed() -> None:
source = PAGE.read_text(encoding="utf-8")
for expected in (
"renameSession",
"deleteSession",
"togglePinnedSession",
"toggleArchivedSession",
"置顶",
"重命名",
"归档",
"删除",
):
assert expected in source