Skip to content

Conversation

RicardoE105
Copy link
Contributor

@RicardoE105 RicardoE105 commented Jul 22, 2025

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

CleanShot 2025-07-22 at 16 23 53

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

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@RicardoE105 RicardoE105 changed the title fix case-sensitive credential search in NodeCredentials component fix(editor): case-sensitive credential search in NodeCredentials component Jul 22, 2025
@RicardoE105 RicardoE105 changed the title fix(editor): case-sensitive credential search in NodeCredentials component fix(editor): case-sensitive credential search in NodeCredentials component Jul 22, 2025
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a 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

Copy link

bundlemon bot commented Jul 22, 2025

BundleMon

Unchanged files (2)
Status Path Size Limits
WASM Dependencies
tree-sitter-bash.wasm
181.26KB -
WASM Dependencies
tree-sitter.wasm
74.47KB -

No change in files bundle size

Groups updated (2)
Status Path Size Limits
**/*.js
5.29MB (+159.63KB +3.03%) -
**/*.css
183.98KB (+4.92KB +2.75%) -

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

Copy link

codecov bot commented Jul 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label Jul 22, 2025
@RicardoE105 RicardoE105 changed the title fix(editor): case-sensitive credential search in NodeCredentials component fix(editor): Case-sensitive credential search in NodeCredentials component Jul 22, 2025
@RicardoE105 RicardoE105 requested a review from nikhilkuria July 28, 2025 12:14
Copy link

currents-bot bot commented Jul 28, 2025

E2E Tests: n8n tests passed after 5m 7.6s

🟢 508 · 🔴 0 · ⚪️ 0

View Run Details

Run Details

  • Project: n8n

  • Groups: 1

  • Framework: Currents

  • Run Status: Passed

  • Commit: 85ac169

  • Spec files: 105

  • Overall tests: 508

  • Duration: 5m 7.6s

  • Parallelization: 1


This message was posted automatically by currents.dev | Integration Settings

@RicardoE105 RicardoE105 merged commit 3ce9a99 into master Jul 28, 2025
43 of 53 checks passed
@RicardoE105 RicardoE105 deleted the ado-3859-credential-search-does-not-work-correctly-with-lower-and branch July 28, 2025 13:14
@github-actions github-actions bot mentioned this pull request Jul 28, 2025
@janober
Copy link
Member

janober commented Jul 28, 2025

Got released with n8n@1.105.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants