修复 imbot 删除按钮失效#3989
Merged
Merged
Conversation
Contributor
PR CI 汇总状态:全部通过
由 pull_request test workflow 自动生成 |
Contributor
There was a problem hiding this comment.
Pull request overview
该 PR 修复了 RobotControl 页面中「已存在 IM Bot」的删除按钮点击无效的问题,并补充了删除确认弹窗与对应的多语言文案,使删除操作对草稿机器人与已保存机器人都能正确触发。
Changes:
- 在删除已保存机器人前新增二次确认弹窗,并在确认后执行删除与运行时同步逻辑
- 修复详情面板中非草稿机器人未绑定
onDelete导致删除按钮无响应的问题 - 补齐删除确认/成功/失败/取消等 i18n 文案(zh/zh-TW/en)
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| app/renderer/src/main/src/pages/robotControl/RobotControl.tsx | 为已保存机器人删除增加确认弹窗,并统一为详情面板始终传入可用的删除回调 |
| app/renderer/src/main/public/locales/zh/layout.json | 增加删除确认/结果/取消等中文文案 |
| app/renderer/src/main/public/locales/zh-TW/layout.json | 增加删除确认/结果/取消等繁中文案 |
| app/renderer/src/main/public/locales/en/layout.json | 增加删除确认/结果/取消等英文文案 |
b1rdfree
approved these changes
Jul 14, 2026
EmbraceAn
approved these changes
Jul 14, 2026
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.
No description provided.