优化项目对话、刷新续流、实时滚动与工具状态恢复 - #245
Open
RuoJi6 wants to merge 32 commits into
Open
Conversation
Contributor
Author
|
本次追加更新:
验证:JavaScript 语法检查通过,前端自动化测试 45/45 通过,git diff --check 通过。 |
Contributor
Author
|
本次根据实际界面反馈完成语义修正:
验证结果:前端自动化测试 46/46 通过;内置浏览器实测取消置顶、重新置顶和侧栏区域移除均通过;干净页面控制台无 error/warn。 |
Closed
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.
背景与目标
本次改动围绕项目化对话、人工审批和长会话交互进行整体优化,重点解决多对话并发、服务重启、长历史滚动、刷新续流、双标签页状态同步、审批状态不同步,以及实时输出期间滚动位置被反复拉回等问题,并统一对话页的视觉与操作逻辑。
主要改动
项目与对话导航
对话刷新、续流与滚动
Enter发送、Shift+Enter换行,并兼容输入法候选确认。工具执行状态恢复
✅ 已完成、❌ 执行失败、执行中及结果缺失状态。服务重启与任务终态
处理中...占位继续识别为运行任务。同一会话多标签页同步
人工审批与模型
write_file加入 HITL 内置免审批工具集合。验证结果
node --test web/static/js/*.test.cjs:85/85 通过。node --check web/static/js/chat-scroll.js:通过。node --check web/static/js/monitor.js:通过。go test ./internal/handler:通过。go test ./internal/database -run TestProcessDetailsSummary:通过。git diff --check:通过。✅ 已完成与❌ 执行失败状态;提交范围