Skip to content

对话:顶栏快捷切换会话 - #369

Merged
nicechencs merged 1 commit into
devfrom
feat/chat-session-switch
Sep 20, 2026
Merged

nicechencs merged 1 commit into
devfrom
feat/chat-session-switch

Conversation

@nicechencs

Copy link
Copy Markdown
Owner

行为变化

历史侧栏收起时,顶栏可以切换会话(标题和工作目录短名)。快捷键 Alt+↑ / Alt+↓ 在当前过滤后的列表里切上一条 / 下一条。正在发送的会话有状态点。按扁平会话列表切换,不实现分组。

影响范围

  • 新增 src/pages/chat/chat-session-switch.tsuse-chat-session-switch.ts
  • ChatSessionHeader.tsxchat-shortcuts.tsindex.tsx
  • 中英文案和测试

不改 ChatSessionRail 和按工作目录分组。

验证

pnpm test -- --run src/pages/chat/chat-session-switch.test.ts src/pages/chat/chat-shortcuts.test.ts

未跑全量 pnpm test / pnpm build。CI 会跑 PR 矩阵。

文档

未改 docs/

合入注意

index.tsxfeat/chat-edit-preview 都会改。分组文案在 feat/chat-workspace-grouping。建议先合分组,再合本 PR。

@nicechencs
nicechencs merged commit 4c2b8ab into dev Sep 20, 2026
4 checks passed
@nicechencs
nicechencs deleted the feat/chat-session-switch branch September 20, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant