Repository navigation
feat(web): 在 Diff 行旁连续添加审阅意见到聊天草稿 - #471
Merged
Merged
Conversation
Preserve the original diff source and existing draft while reviewing multiple lines. Keep IME cancellation inside the inline editor.
This was referenced Oct 22, 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.
改动
审阅多处代码时,可以在 Diff 行旁点击
+就地写意见,连续加入已有聊天草稿,再返回聊天检查并发送。添加意见后审阅面板保持打开,原有正文和附件保留;每条意见带上原始文件、编辑版本、差异片段与对应行号。输入时冻结来源,避免刷新后绑定到另一行。尚未加入草稿的行内输入仅保留在当前审阅视图。#445 已合入 main,本 PR 的 base 已是
main。实现提交803ac30f已同步 #445 的文件名旁紧凑换行按钮,并保留逐行评论;没有旧版独立换行工具栏。原有文件、片段和行引用继续可用。交互参考原设计核对的 Claude Code Desktop Diff 审阅和 Codex 行内反馈:就地连续添加意见,回到聊天显式发送。Enter 保留多行输入,Ctrl/⌘+Enter 加入草稿。
最新真实截图(2026-10-27)
旧正文的截图确实没有随 #445 更新,现已替换。变更前是已合入 #445 的 main
02ff2bcf,变更后是本 PR 实现803ac30f。两边使用同一个真实 Go API、SQLite、项目和文件提案,分别构建生产前端,均开启长行换行。Windows / Edge 156 实拍。当前截图、源码版本与验证记录。
验证
fb19e3fd只更新截图和说明。本 PR 尚待最新提交的 CI 与合并审阅。