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

已關閉
#134 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@Robert0622 已經在處理了。

開始於 2026年11月9日。

  • #135 來自 @Robert0622 —— 未關閉

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
停滯
技術堆疊
css, javascript
領域
frontend

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.
主要語言
Go
星號
141
分支
28
平均合併
2 天 7 小時
30 天內合併 PR
53

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

Tencent/LoopForge 的其他 Issue

查看 Tencent/LoopForge 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。