Skip to content

feat: 增强悬浮窗规则集控制与自定义能力#2

Open
ywydog wants to merge 79 commits into
mainfrom
trae/solo-agent-Ly7oSq
Open

feat: 增强悬浮窗规则集控制与自定义能力#2
ywydog wants to merge 79 commits into
mainfrom
trae/solo-agent-Ly7oSq

Conversation

@ywydog
Copy link
Copy Markdown
Owner

@ywydog ywydog commented May 30, 2026

🎯 Changes

1. 悬浮窗功能增强

  • 新增规则集控制,支持根据规则集自动隐藏悬浮窗和按钮。
  • 引入置顶/置底切换功能,通过自动化操作和API实现。
  • 增加拖动把手强制常显配置,提升用户体验。

2. 按钮配置与规则集

  • 新增按钮规则集配置类,支持按钮的可见性、位置和规则集绑定。
  • 悬浮窗触发器配置中新增按钮可见性和位置属性。
  • 隐藏被规则集过滤的按钮,实现更精细的控制。

3. 配置与UI更新

  • MainConfigData.cs 新增悬浮窗规则集启用状态、拖动把手常显配置以及规则集字典属性。
  • 设置页面新增悬浮窗规则集配置UI、按钮级规则集和可见性配置UI,以及拖动把手常显开关。
  • 调整主题设置图标,优化界面。

4. 自动化操作与服务

  • 新增切换悬浮窗置顶/置底的自动化操作,并在插件菜单中注册入口。
  • FloatingWindowService.cs 新增规则集定时检查机制和 ToggleWindowLayer 方法。

💡 Technical Highlights

  • 规则集驱动: 通过引入规则集,实现了悬浮窗及其按钮的动态显示与隐藏,增强了自动化能力。
  • 分层控制: 提供了悬浮窗置顶/置底的切换能力,满足不同使用场景的需求。
  • 可配置性: 按钮配置项支持可见性和位置的自定义,极大地提升了悬浮窗的灵活性和用户定制性。
  • 模块化设计: 将规则集配置、服务逻辑和UI更新分离,保持了代码的清晰和可维护性。

ywydog and others added 13 commits May 30, 2026 03:07
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
@ywydog ywydog changed the base branch from v2 to main May 30, 2026 05:29
ywydog and others added 16 commits May 30, 2026 23:25
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
ywydog and others added 30 commits June 2, 2026 10:51
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant