Repository navigation
feat(chat): search saved messages within the current chat - #446
Merged
Merged
Conversation
Qiyuanqiii
force-pushed
the
Qiyuanqiii/current-chat-search
branch
from
October 23, 2026 16:55
3dac0ec to
3f43edf
Compare
Qiyuanqiii
force-pushed
the
Qiyuanqiii/current-chat-search
branch
from
October 23, 2026 16:55
3f43edf to
4e5c23e
Compare
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.
当前对话内查找可以检索全部已保存正文,并直接跳到匹配消息。侧栏新增“所有聊天 / 当前聊天”范围切换;Ctrl/Cmd+F 打开当前聊天搜索,Ctrl/Cmd+K 保持全局搜索。窄屏从关闭状态打开搜索时,会在侧栏可交互后聚焦输入框。
HTTP 搜索新增可选 thread_id,分页游标绑定搜索范围。分支继承的公开助手回复也进入搜索候选,并沿用公开投影及脱敏规则。
基于 #437,依赖其完整消息读取接口。请先合并 #437;本 PR 保持未合并。
验证:Go 搜索、全文读取、OpenAPI 和项目移动相关测试通过;93 项相关 React 测试通过,最终焦点调整后再次通过 19 项搜索测试;API 生成检查、生产构建、协议登记检查通过。真实 Windows Chrome + Go API + SQLite 已验证范围切换、保存消息定位、390px 搜索重开及焦点。生成文件经工具核对;生产代码、新增测试、文档和截图由主 agent 审阅。未验证原生桌面打包程序。
实际验证范围与截图说明