Repository navigation
[codex] feat(dashboard): 增加会话所在聊天筛选 - #404
Merged
Merged
Conversation
nil-err
marked this pull request as ready for review
July 8, 2026 07:27
- command-handler.ts: /repo 切换重建 session 时复制旧 session 的 chatDisplayName/ownerOpenId/creatorOpenId/lastCallerOpenId - card-handler.ts: 卡片切仓库路径同样复制直聊展示相关字段 - session-manager.ts: scheduler fresh session 创建时传入规范化的 chatType
deepcoldy
added a commit
to nil-err/botmux
that referenced
this pull request
Jul 9, 2026
解冲突: - sessions.ts:terminalHref 已抽到 session-terminal.ts(export const terminalHref = sessionTerminalHref),保留 master(deepcoldy#404) 新增的 sessionLocationText/isUnknownChatSession 等 - test/dashboard-create-session.test.ts:取 master 版(含更全 mock: getActiveSessionsRegistry / resolveRoleInjection injectMode)
deepcoldy
pushed a commit
that referenced
this pull request
Jul 10, 2026
将 dashboard 迁移到 React(esbuild 按页面分包),按统一 UI 规范重构工作台/会话/洞察/工作流/群组/定时/白板/角色/Bot配置/Skills/团队/Webhook/全局设置等页面,沉淀 UI 基准规范与通用组件。含 review 修复(locate 图标/team capability/timezone/DropdownMenu/floating-scrollbars/insights/bot-defaults/legacy-workflow/替身编辑等)+ 集成 master 新功能(#404 会话筛选列/#405 监控室/#409 运行监控页/#412 lark-cli状态+飞书QR/#401 替身/#420 agentbuddy 源)。build 绿、全量 unit 0 非环境失败。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
功能变更
/api/groups的群名映射,单聊优先展示会话创建者/调用者的显示名,无法解析时才回退到原始chatId。localStorage持久化用户选择。代码更改
Session.chatDisplayName/SessionRow.chatDisplayName,用于承载单聊可读名称。chatDisplayName;会话行组合时也会从 identity cache 兜底解析历史单聊会话名称。chatDisplayTitle统一消费行级chatDisplayName,使表格、看板、卡片副标题、筛选项和未知聊天判断共享同一名称解析逻辑。readStoredSessionsShowUnknownChats的默认值语义:缺省/读取失败时默认显示未知聊天,只有显式存储为0才隐藏。验证
corepack pnpm test -- test/dashboard-sessions-ui.test.ts test/dashboard-preferences.test.ts test/dashboard-token-usage-row.test.tscorepack pnpm exec tsc --noEmitcorepack pnpm exec tsc && node scripts/build-dashboard.mjs