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

Offen
#134 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@Robert0622 arbeitet bereits daran.

Seit 09.11.2026.

  • #135 von @Robert0622 — offen

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Veraltet
Tech-Stack
css, javascript
Bereich
frontend

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.
Vorherrschende Sprache
Go
Sterne
141
Forks
28
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
41

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Tencent/LoopForge

Alle Issues in Tencent/LoopForge

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.