spacelabdev / spacelab-react

5 stars 47 forks source link

Glossary Page Search Bar Functionality PR. #375

Closed manuel12 closed 1 year ago

manuel12 commented 1 year ago

Fixes: #367

Hello again, Spacelab team.

I tried a solution for the issue mentioned above: in order to fix this issue I converted the searchTerm to lower case in order to match lower cased target constant, this way since both terms are lower cased, regardless of their initial state search terms will now match whether they are searched for in upper or lower case.

This how search results look for the term "stellar" in upper case:

image

And in lower case:

image

Also for "planet", in upper case:

image

And in lower case:

image

netlify[bot] commented 1 year ago

Deploy Preview for spacelab-main ready!

Name Link
Latest commit be1b47f3482dfd6a2afd98eef3dccf1e67b289e6
Latest deploy log https://app.netlify.com/sites/spacelab-main/deploys/648c22131ca3e9000873f346
Deploy Preview https://deploy-preview-375--spacelab-main.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.