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

[21.01] Fix bug to prevent workflow refactor indices from being wrong. #11527

Merged
merged 2 commits into from
Mar 3, 2021

Conversation

jmchilton
Copy link
Member

Don't let the workflow linting page build refactor actions with step indices that will be broken after the the prompt to save.

@mvdbeek mvdbeek merged commit 30e6dd4 into galaxyproject:release_21.01 Mar 3, 2021
@@ -346,6 +347,7 @@ export default {
},
onAdd(node) {
this.nodes[node.id] = node;
this.requiresReindex = true;
Copy link
Member

Choose a reason for hiding this comment

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

This is too aggressive and forces a reload even when you just loaded the workflow

Copy link
Member Author

Choose a reason for hiding this comment

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

Ahhh - I did not test that.

This would have been a great feature to have UI tests for 😅.

Copy link
Member

@mvdbeek mvdbeek Mar 3, 2021

Choose a reason for hiding this comment

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

Certainly looked fine on first glance 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants