Skip to content

[codex] trim project search queries#657

Open
Sean-Kenneth-Doherty wants to merge 1 commit into
firstcontributions:mainfrom
Sean-Kenneth-Doherty:codex/trim-project-search-query
Open

[codex] trim project search queries#657
Sean-Kenneth-Doherty wants to merge 1 commit into
firstcontributions:mainfrom
Sean-Kenneth-Doherty:codex/trim-project-search-query

Conversation

@Sean-Kenneth-Doherty
Copy link
Copy Markdown

Summary

  • trim whitespace from project search terms before matching
  • preserve the existing lowercase search behavior
  • avoid false zero-result states when users type accidental leading or trailing spaces

Addresses #501

Validation

  • git diff --check
  • extracted inline script from src/components/ProjectList.astro and ran node --check -
  • direct behavior check confirms react becomes react and still matches the React project
  • GITHUB_TOKEN=$(gh auth token) pnpm build

@Sean-Kenneth-Doherty
Copy link
Copy Markdown
Author

Validation notes for this search behavior fix:

  • git diff --check passes
  • extracted the inline script from src/components/ProjectList.astro and node --check - passes
  • direct behavior check confirms react is normalized to react and still matches the React project
  • GITHUB_TOKEN=$(gh auth token) pnpm build passes

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.

1 participant