Skip to content

【backup】feat: Add a new node empty-node as a placeholder node#6203

Closed
wangliang181230 wants to merge 1 commit into
1Panel-dev:v2from
wangliang181230:PR/36-feat-addNewNode-emptyNode
Closed

【backup】feat: Add a new node empty-node as a placeholder node#6203
wangliang181230 wants to merge 1 commit into
1Panel-dev:v2from
wangliang181230:PR/36-feat-addNewNode-emptyNode

Conversation

@wangliang181230

@wangliang181230 wangliang181230 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

What this PR does / why we need it?

feat: Add a new node empty-node as a placeholder node
新增一个新节点 空节点 作为占位节点

Summary of your change

空节点不做任何操作,仅用于流程占位节点,常用于判断器的ELSE中占位使用。
工作流工具中,经常会碰到这种情况。

  1. 有空节点前:
图片
  1. 有空节点后:
图片
  1. 其他界面展示:
图片 图片

Please indicate you've done the following:

  • Made sure tests are passing and test coverage is added if needed.
  • Made sure commit message follow the rule of Conventional Commits specification.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

@wangliang181230 wangliang181230 force-pushed the PR/36-feat-addNewNode-emptyNode branch 2 times, most recently from 309caf8 to a3dfd40 Compare June 11, 2026 04:41
@wangliang181230 wangliang181230 changed the title feat: Add a new node empty-node feat: Add a new node empty-node as a placeholder node Jun 11, 2026
@wangliang181230 wangliang181230 force-pushed the PR/36-feat-addNewNode-emptyNode branch from a3dfd40 to 901ec8d Compare June 11, 2026 06:06
@wangliang181230 wangliang181230 force-pushed the PR/36-feat-addNewNode-emptyNode branch from 901ec8d to 49448e3 Compare June 11, 2026 07:28
@keydown.stop
@click.stop
style="min-width: 85px; text-align: right"
>

@wangliang181230 wangliang181230 Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

顺便优化:移除节点左侧标题的宽度 width: 69%,固定右侧按钮的宽度(注:使用min-width更保险)使左侧标题能够显示出更多字来。

@baixin513

Copy link
Copy Markdown
Member

暂无此计划

@baixin513 baixin513 closed this Jun 11, 2026
@wangliang181230 wangliang181230 deleted the PR/36-feat-addNewNode-emptyNode branch June 11, 2026 07:52
@wangliang181230 wangliang181230 changed the title feat: Add a new node empty-node as a placeholder node 【backup】feat: Add a new node empty-node as a placeholder node Jun 11, 2026
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.

2 participants