feat: 支持侧边栏文本和代码文件批注 - #58
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.
侧边栏文件原先无法选中批注。现在支持 DSH 0.1.5-rc.2 的文本、Markdown 和代码预览,沿用编辑、保存及回车发送流程,并将文件路径随引用发给模型。同文不同文件分别保存;刷新后重新打开原文件可恢复标记,滚出预览区域的高亮会被裁剪。
复用宿主已有文件地址和正文标记,未新增依赖。检查当前宿主与 dsh-external 仓库目录后,未发现等价文件批注能力。PDF、图片及 iframe 内 HTML 不在本次范围;不增加低于当前支持下限的旧内核兼容路径。
验证:21 项测试、构建、语法和安装包校验通过;浏览器验证编辑窗口拖动、输入区域裁剪、三种正文、路径拼稿、同文不同文件、会话隔离、滚动和刷新恢复;隔离 DSH 0.1.5-rc.2 已验证真实文件打开、选择、保存、刷新重开定位和编辑。无模型凭据,未声称验证模型回复。CI 已加入浏览器检查和新版宿主侧边栏验收,继续保留 0.1.2-rc.1 下限检查。
Refs #57。尚未发布,保留 Issue 等待原环境复测。