Created a search for the leaderboard page. It searches by username or team name.
Why?
Find on mobile is a pain.
How?
All done on frontend, no extra queries to the backend. Filters on the table by setting a hidden class on rows that don't match the pattern so that the ranks don't get updated and are accurate.
Testing?
I added a very basic smoke test to get started on testing. I plan on going back next and working on some more comprehensive tests to work from.
Screenshots
Anything Else?
I updated the documentation on setting up the frontend and made it a markdown file for readability. I also moved the original unit test for App.js into the components file since it was failing in its current state.
What?
Created a search for the leaderboard page. It searches by username or team name.
Why?
Find on mobile is a pain.
How?
All done on frontend, no extra queries to the backend. Filters on the table by setting a hidden class on rows that don't match the pattern so that the ranks don't get updated and are accurate.
Testing?
I added a very basic smoke test to get started on testing. I plan on going back next and working on some more comprehensive tests to work from.
Screenshots
Anything Else?
I updated the documentation on setting up the frontend and made it a markdown file for readability. I also moved the original unit test for App.js into the components file since it was failing in its current state.