AIFeed

collab-production:修复从聚焦的分栏差异选择中初始化项目搜索的问题(#67732)

AI summary

修复在并排 Git 差异左侧选择文本时项目搜索查询的初始化问题。新增回归测试,覆盖从分栏差异左侧选中旧文本、右侧选中新文本以及统一差异中选中删除文本的场景。发布说明:修复了项目搜索未使用分栏 Git 差异左侧所选文本的问题。

Translation(model translation, not the source's own text)

文章标题:collab-production: Fix project search seed from focused split diff selection (#67732)

正文:

  • collab-production
  • 已验证 此提交在 GitHub.com 上创建,并使用 GitHub 的已验证签名签署。GPG 密钥 ID:B5690EEEBB952194 已验证 了解 vigilant 模式

已验证

  • 选择一个标签进行比较 抱歉,出了点问题。筛选 加载中 抱歉,出了点问题。哎呀!加载时出错。请重新加载此页面。未找到结果 查看所有标签

选择一个标签进行比较

抱歉,出了点问题。

哎呀!

加载时出错。请重新加载此页面。

未找到结果

  • collab-production
  • 选择一个标签进行比较 抱歉,出了点问题。筛选 加载中 抱歉,出了点问题。哎呀!加载时出错。请重新加载此页面。未找到结果 查看所有标签

选择一个标签进行比较

抱歉,出了点问题。

哎呀!

加载时出错。请重新加载此页面。

未找到结果

  • 已验证 此提交在 GitHub.com 上创建,并使用 GitHub 的已验证签名签署。GPG 密钥 ID:B5690EEEBB952194 已验证 了解 vigilant 模式

已验证


        ## Summary

Fix project search query seeding when selecting text in the left side of
a side-by-side Git diff.
Closes #67717

## Testing
Added a regression test covering project search deployment from:
   - Selected old text in the left side of a split diff.
   - Selected new text in the right side of a split diff.
   - Selected deleted text in a unified diff.
## Self-review

- [x] I've reviewed my diff for quality, security, reliability, and
performance.
- [ ] UI changes follow the
[checklist](https://zed.dev/docs/development/ui-checklist).
- [x] Tests cover the new or changed behavior.

Release Notes:

- Fixed project search not using the selected text from the left side of
a split Git diff
      

哎呀!

加载时出错。请重新加载此页面。

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by Zed Releases
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗