Skip to content

feat(ai): show AI panel connection picker as a group tree - #6953

Merged
t8y2 merged 1 commit into
t8y2:mainfrom
sxhjlzl:feat/issue-6952-ai-connection-tree
Aug 22, 2026
Merged

feat(ai): show AI panel connection picker as a group tree#6953
t8y2 merged 1 commit into
t8y2:mainfrom
sxhjlzl:feat/issue-6952-ai-connection-tree

Conversation

@sxhjlzl

@sxhjlzl sxhjlzl commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

The AI assistant's connection selector listed every connection flat with the group badge inline, which gets hard to scan with many connections. Reuse the toolbar's ConnectionTreeSelect so the picker mirrors the sidebar's collapsible group tree, with search by connection or group name.

Fixes #6952

变更说明

修改内容

AI 对话框底部的连接选择器原来是扁平列表,连接多的时候难以定位所属分组。
改为复用工具栏的树形连接选择器(ConnectionTreeSelect),与右侧边栏分组结构一致:

  • 分组可折叠/展开,连接按层级缩进
  • 支持按连接名/分组名搜索
  • 支持键盘 ↑/↓ + Enter 选择

变更类型

  • 新功能
  • Bug 修复
  • 性能优化
  • 代码重构
  • 文档更新
  • CI / 构建

涉及前端

  • 本 PR 涉及前端改动,已附截图/录屏(见下方)
image

验证

  • make check 通过
  • make cargo-check-fast 通过
  • 相关测试通过

关联 Issue

Close #6952

The AI assistant's connection selector listed every connection flat with
the group badge inline, which gets hard to scan with many connections.
Reuse the toolbar's ConnectionTreeSelect so the picker mirrors the
sidebar's collapsible group tree, with search by connection or group
name.

Fixes t8y2#6952
@github-actions github-actions Bot added area/desktop Desktop application or Tauri shell enhancement New feature or request ui-change Changes user-visible interface, text, or visual assets labels Aug 22, 2026

@t8y2 t8y2 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed at exact head 81ce22f.

@t8y2
t8y2 merged commit 096e0ac into t8y2:main Aug 22, 2026
15 checks passed
@t8y2

t8y2 commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Thanks for the contribution! Merged in 096e0ac, will be released in the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/desktop Desktop application or Tauri shell enhancement New feature or request ui-change Changes user-visible interface, text, or visual assets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] AI对话框选择连接支持跟右侧连接一样的树形分组

2 participants