Skip to content

bug: Search filter is case-sensitive for tech stack #10478

Closed

Description

@sahare77

Description
When users type "JAVASCRIPT" or "React" into the search bar, projects that are tagged with lowercase "javascript" or "react" are not showing up correctly if the matching is strictly case-sensitive in certain functions.

Steps to Reproduce

  1. Go to the project dashboard.
  2. Type "REACT" in the tech stack filter.
  3. Observe that no projects are returned, despite React projects existing.

Expected Behavior
The search input should be converted to lowercase before comparing it with the tags in projects.json.

Implementation Hints

// index.js
const handleSearch = (query) => {
  const normalizedQuery = query.toLowerCase().trim();
  filteredProjectData = projectData.filter(project => 
    project.techStack.some(tech => tech.toLowerCase().includes(normalizedQuery))
  );
  renderProjects(filteredProjectData);
};

Activity

  1. github-actions commented on Jul 11, 2026

    @github-actions
    Contributor

    Thank you for raising this issue! We'll look into it as soon as possible. Please ensure that the issue is not duplicate, and you read CONTRIBUTING.md carefully. Your contributions are highly appreciated! 😊

  2. sahare77 commented on Jul 11, 2026

    @sahare77
    ContributorAuthor

    I want to work on this under GSSoC 2026, please assign me.

  3. sahare77 commented on Jul 12, 2026

    @sahare77
    ContributorAuthor

    The search filter is already case-insensitive for the tech stack using .toLowerCase() in the Main branch. Closing this issue as it is already resolved!

  4. github-actions commented on Jul 12, 2026

    @github-actions
    Contributor

    Hello @sahare-mayur-0071! Your issue #10478 has been closed. Thank you for your contribution!

  5. github-actions commented on Aug 18, 2026

    @github-actions
    Contributor

    Hello @sahare77! Your issue #10478 has been closed. Thank you for your contribution!

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions