Repository navigation
[6230] 附件菜单过滤已添加文件并新增已添加子菜单 - #4760
Merged
Merged
Conversation
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.
任务
6230:LLM 对话附件菜单需要反映当前会话已添加的附件,并避免失效最近文件造成误操作。
任务文档 PR:LiiiLabs/dev-agent#243
改动
AttachMenuBridge展示层,不修改go-menu-meta、全局最近列表或标题栏 Go 菜单。AttachmentItem新增sourcePath,文档转换为临时 PDF 后仍按原文件路径匹配 Recents。/tmp等路径;右上角最近菜单的既有清理逻辑不变。验证
xmake b stem:通过xmake install --yes stem:通过xmake r attach_menu_bridge_test:6/6 通过xmake r qt_chat_controller_test:41/41 通过ChatController + AttachMenuBridge的attached数据xmake r qt_chat_tab_widget_test:138/138 通过xmake r qml_load_test:40/40 通过(一次运行中 hover 动画用例偶发失败,随后全量复跑通过)gf fmt --check、git diff --check:通过手动验证
用户已实际确认「已添加」子按钮与子菜单可以显示,并反馈了展开后列表裁切的问题;该问题已补充修复及真实 Popup 自动化回归。修复后的完整 GUI 复验仍待确认。
🤖 Generated with Claude Code