Skip to content

feat(todo): 将 Agent Tasks 与待办功能开关绑定 - #444

Merged
J3n5en merged 1 commit into
J3n5en:mainfrom
Mieluoxxx:feat/bind-agent-tasks-to-todo
Jul 21, 2026
Merged

feat(todo): 将 Agent Tasks 与待办功能开关绑定#444
J3n5en merged 1 commit into
J3n5en:mainfrom
Mieluoxxx:feat/bind-agent-tasks-to-todo

Conversation

@Mieluoxxx

Copy link
Copy Markdown
Contributor

Summary

  • todoEnabled 同时控制 Todo 看板 tab 和 Agent Tasks 入口
  • 关闭 Todo 时自动关闭已打开的 Agent Tasks 独立窗,并离开 Todo tab
  • 更新设置文案,明确 Todo 开关覆盖看板与 Agent 任务面板

Why

心电图负责项目导航;待办 + Agent 任务应作为同一套工作流能力一起出现/消失。避免 Todo 关闭后右侧 Agent Tasks 仍独立存在。

Test plan

  • 开启 Todo:导航栏出现 Todo tab,右侧出现 Agent Tasks 按钮
  • 打开 Agent Tasks 独立窗后关闭 Todo:按钮消失,独立窗关闭
  • 停留在 Todo tab 时关闭 Todo:自动切到 chat
  • 心电图入口不受影响
  • 中英文设置文案显示正常

关闭 Todo 时同步隐藏 Agent Tasks 入口并关闭独立面板,避免工作流能力入口分裂。
@github-actions

Copy link
Copy Markdown
Contributor

Claude Code is working…

I'll analyze this and get back to you.

View job run

@Mieluoxxx

Copy link
Copy Markdown
Contributor Author
image image 前后 UI 对比

@J3n5en J3n5en left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

审查通过。Todo 开关已覆盖入口显示、关闭已打开的独立面板、退出 Todo tab 三条状态路径;现有 IPC 可见性事件会在 toggle 后同步状态,未发现阻塞问题。建议合并。

@J3n5en
J3n5en merged commit 829866f into J3n5en:main Jul 21, 2026
1 of 2 checks passed
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.

2 participants