Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Fix DO_WHILE loops containing a SWITCH task #3174

Merged
merged 6 commits into from
Aug 11, 2022
Merged

Fix DO_WHILE loops containing a SWITCH task #3174

merged 6 commits into from
Aug 11, 2022

Conversation

peterlau
Copy link
Contributor

@peterlau peterlau commented Aug 11, 2022

Pull Request type

  • Bugfix

Changes in this PR

  • Fix incorrect rendering of loops containing a SWITCH task.
  • Add Cypress test cases
  • Keep only one 'cosmetic' arc between DO_WHILE and DO_WHILE_END bars to preserve the acyclic nature of DAG, arrow being rendered in reverse by CSS only.

Screen Shot 2022-08-11 at 1 16 56 PM

Alternatives considered

Incorporates PR and contribution by @pablocubico #3158

Sorry, something went wrong.

pablocubico and others added 6 commits August 3, 2022 12:02

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
- Add Cypress test cases
- Keep only one 'cosmetic' arc between DO_WHILE and DO_WHILE_END bars. The arc is flows top-to-bottom to maintain the acyclic nature of DAG, arrow being rendered in reverse by CSS only.
@peterlau peterlau self-assigned this Aug 11, 2022
@peterlau peterlau merged commit 5661251 into main Aug 11, 2022
@peterlau peterlau deleted the fix-switch-loop branch August 11, 2022 20:15
@peterlau
Copy link
Contributor Author

@pablocubico Note that the cypress test cases can be run interactively with the command yarn run cypress:open - Select Component Testing, and use Chrome.

@pablocubico
Copy link
Contributor

@peterlau Thanks! will keep that in mind

pmchung pushed a commit to routific/conductor that referenced this pull request Sep 6, 2023
Fix DO_WHILE loops containing a SWITCH task
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants