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(editor): Fix parameter reset on credential change in Discord node #9137
fix(editor): Fix parameter reset on credential change in Discord node #9137
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks ok but I have two comments on the solution:
- This doesn't solve the issue from the linear ticket (which I cannot reproduce so if the issue is not valid anymore it would be good to update the ticket or create a new one just so we keep linear tickets and PR in sync)
- I'm still encountering the issue where parameters are reset after changing the credentials:
Screen.Recording.2024-04-12.at.16.23.14.mov
@MiloradFilipovic Updated the linear issue description. The original issue is indeed no longer reproducible, see comment thread in Linear with Jon and Niklas. I think I missed the operation also being reset because I was testing with Message/Send (Send being the default operation), fixed now! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good 🚀
2 flaky tests on run #4705 ↗︎
Details:
5-ndv.cy.ts • 1 flaky test
24-ndv-paired-item.cy.ts • 1 flaky test
Review all test suite changes for PR #9137 ↗︎ |
✅ All Cypress E2E specs passed |
Got released with |
Summary
Resource and operation parameters should not reset when credentials is changed.
The code that is looking for mismatched collection parameter options was also resetting options parameters.
Related to #8114
Related tickets and issues
https://linear.app/n8n/issue/NODE-1089/discord-actions-not-being-seleted-after-selecting-them-in-nodes-panel
Review / Merge checklist
(no-changelog)
otherwise. (conventions)