Skip to content

Fix workflow actions overflow and variable string display quotes - #2046

Merged
fengzai6 merged 2 commits into
mainfrom
fix/workflow-actions-and-variable-quotes
Sep 28, 2026
Merged

fengzai6 merged 2 commits into
mainfrom
fix/workflow-actions-and-variable-quotes

Conversation

@fengzai6

Copy link
Copy Markdown
Collaborator

Summary

修复工作流列表在 workflow 名称较长时把行操作按钮挤出可见区域的问题,并为表格设置明确的列宽预算与窄屏横向滚动兜底。

修复 Variables 面板中 String 类型变量回显时带 JSON 引号造成误解的问题。后端仍以 JSON 编码存储值,前端仅按类型解码展示,保存路径与存储格式不变。

Related

Closes #2045

Changes

  • 工作流列表的 Workflow 列不再被长名称撑开,actions 列固定预留宽度,窄屏由容器横向滚动承载
  • String 变量回显时去掉 JSON 包裹引号,Number/Boolean 显示为字面量,Object/Array 保留可编辑的 JSON 原文
  • 补充变量展示解码函数的测试,覆盖类型解码与异常回退

Test plan

Automated

  • 前端全量测试通过(257 个文件,2355 项)
  • 前端构建通过(tsc -b + vite build)
  • 变量展示解码聚焦测试通过(4 项)
  • 工作流列表在 1440 / 1024 / 900 / 700 像素视口下 actions 均完整可见,窄屏出现横向滚动

@fengzai6 fengzai6 self-assigned this Sep 28, 2026

@ppXD ppXD left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fengzai6
fengzai6 merged commit d28b6b2 into main Sep 28, 2026
1 check passed
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.

Fix workflow actions overflow and variable string display quotes

2 participants