[Bug]: SOP 设计器「AI 编排助手」侧栏输入框叠住场景标签,标题按钮换行

Đang mở
#134 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@Robert0622 đang làm issue này rồi.

Từ ngày 9/11/2026.

  • #135 của @Robert0622 — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
css, javascript
Lĩnh vực
frontend

Hướng nghiên cứu

Start with the AI orchestrator markup in web/index.html and the sidebar behavior in web/orchestrate.js, then inspect .fd-ai-panel and .ai-orchestrator-send in web/app/flow-canvas.css. Reproduce the empty canvas welcome state and check that the scenario chips, input area, and send hint no longer overlap, the header buttons stay beside the title, and the placeholder reads clearly. An open linked pull request (#135) is already addressing this issue.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug
Component / host

Platform — web / API

Edition

Platform

LoopForge version

platform main @ ffaed157(流程设计器 · AI 编排侧栏)

What happened?

打开 SOP 流程设计器右侧 AI 编排助手 时,空画布欢迎态的布局是坏的:

  1. 输入框叠在场景标签上。 带焦点的「告诉我你的目标,我来搞定…」输入框盖住最后一行场景(截图里是「发布前检查 · 变更清单」「PR 评审 · 自动预审」),标签点不到,也看不全。
  2. 标题栏按钮掉到下一行。 「AI 编排助手」标题下面单独排了 + / ×,没有和标题同一行靠右。
  3. 占位文案从中间折行。 告诉我你的目标,我来搞定… 被折成「我来搞 / 定…」,「搞定」拆开了。

预期:场景标签、输入框、发送说明从上到下排开,互不遮挡;标题和 + / × 同一行;占位文案在输入框宽度内完整可读。

侧栏实现见 web/index.html(#aiOrchestrator)、web/orchestrate.js(renderAIScenarios / setAIOrchestratorOpen)、web/app/flow-canvas.css(.fd-ai-panel 宽 368px,.ai-orchestrator-send 为 position:absolute)。欢迎区没有给底部输入区留出高度,绝对定位的发送区就把场景 chips 盖住了。

Reproduction
  1. 打开流程模板,进入任意本项目 SOP 的流程设计器(空画布更容易看到欢迎态)。
  2. 点画布上的 AI 编排,打开右侧「AI 编排助手」。
  3. 看欢迎文案下方的场景标签、输入框、标题栏 + / ×。
  4. 输入框保持焦点(蓝框)时更明显:最后一行场景被挡住。

无需模型 Key、仓库或真实生成草稿。

Sanitized diagnostics
页面:流程设计器 → AI 编排助手(空画布欢迎态)
现象:textarea 叠在 #aiOrchestratorSuggest 最后一行 chips 上
标题:.ai-orchestrator-head 内 + / × 换到标题下方
占位符:告诉我你的目标,我来搞 / 定…
相关:#flowView .ai-orchestrator.fd-ai-panel width:368px
      #flowView .fd-ai-panel .ai-orchestrator-send { position:absolute }
Safety checks
  • I removed credentials, private endpoints, internal identifiers, and personal data.
  • I searched existing issues for duplicates.
Ngôn ngữ chính
Go
Star
141
Fork
28
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
41

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Tencent/LoopForge

Tất cả issue của Tencent/LoopForge

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.