-
Notifications
You must be signed in to change notification settings - Fork 42.6k
fix(editor): Case-sensitive credential search in NodeCredentials
component
#17564
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): Case-sensitive credential search in NodeCredentials
component
#17564
Conversation
NodeCredentials
component
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.
cubic analysis
No issues found across 2 files. Review in cubic
BundleMonUnchanged files (2)
No change in files bundle size Groups updated (2)
Final result: ✅ View report in BundleMon website ➡️ |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
NodeCredentials
componentNodeCredentials
component
E2E Tests: n8n tests passed after 5m 7.6s Run Details
This message was posted automatically by
currents.dev | Integration Settings
|
Got released with |
Summary
In the matches() function on line 515, only the haystack parameter (credential name) was converted to lowercase using toLocaleLowerCase(), but the needle parameter (user's search input) remained in its original case.
Before
https://uploads.linear.app/1c35bbc6-9cd4-427e-8bc5-e5d370a9869f/0795b15e-6aaf-420c-9c57-15ac7e887cc6/3b1914c3-57cf-482c-9bc6-ff69bd134a4f
Now
Related Linear tickets, Github issues, and Community forum posts
https://linear.app/n8n/issue/ADO-3859/credential-search-does-not-work-correctly-with-lower-and-uppercasing
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)