Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ui/src/workflow/common/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ export const loopContinueNode = {
type: WorkflowType.LoopContinueNode,
text: t('views.applicationWorkflow.nodes.loopContinueNode.text'),
label: t('views.applicationWorkflow.nodes.loopContinueNode.label'),
height: 600,
height: 100,
properties: {
width: 600,
stepName: t('views.applicationWorkflow.nodes.loopContinueNode.label'),
Expand Down Expand Up @@ -510,7 +510,7 @@ export const loopBreakNode = {
type: WorkflowType.LoopBreakNode,
text: t('views.applicationWorkflow.nodes.loopBreakNode.text'),
label: t('views.applicationWorkflow.nodes.loopBreakNode.label'),
height: 600,
height: 100,
properties: {
width: 600,
stepName: t('views.applicationWorkflow.nodes.loopBreakNode.label'),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The code has an unnecessary change that reduces the height of both loopContinueNode and loopBreakNode. This might affect their visual representation on the workflow diagram. If you want to reduce the size of these nodes, consider adjusting their width or position instead.

Optimization suggestion:
If reducing the height is intended to improve performance or simplify rendering on mobile devices, ensure that this change does not negatively impact user interaction or understanding of the flowchart design. Consider alternative solutions for smaller node dimensions if necessary.

Note that changes made after September 1, 2021, should be re-evaluated against current best practices and standards for workflow development tools.

Expand Down
Loading