Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Designer): Trigger deletion should also remove dependant tokens through the workflow #4788

Merged
merged 1 commit into from
May 7, 2024

Conversation

hartra344
Copy link
Contributor

This pull request primarily focuses on enhancing the token removal functionality in the workflow design process. The most significant changes include adding a new test case to verify token removal when a trigger is deleted, importing a new token type for deletion, and modifying the deleteOperation and removeAllTokensFromNode functions to handle trigger deletion.

Key changes include:

Token Removal Test:

  • e2e/designer/tokenRemoval.spec.ts: A new test case has been added to verify that tokens are correctly removed from parameters when a trigger is deleted. This ensures that any references to the deleted trigger are also removed, maintaining the integrity of the workflow.

Token Type Import:

Function Modifications for Trigger Deletion:

@hartra344 hartra344 marked this pull request as ready for review May 7, 2024 00:29
@hartra344 hartra344 merged commit dfdf7b8 into main May 7, 2024
11 checks passed
@hartra344 hartra344 deleted the deleteTriggerSupport branch May 7, 2024 00:42
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.

None yet

2 participants