[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 天 15 小时
30 天内合并 PR
41

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Tencent/LoopForge 的其他 Issue

查看 Tencent/LoopForge 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。