It'd be nice to have an easy way to filter for projects matching a given keyword.
Solution
Implement a search box with a bit of a JS.
Just plain JS, no frameworks, no jQuery - in all my years of web dev, I'm not sure I've ever done that! A little clunkier, maybe, but it feels nice.
UI-wise, I don't use the USWDS search component, as that assumes a search button; we don't need one here, we can filter as the user types. Instead, I did something custom (or, rather, using more basic USWDS components) to put a search con on the left side of the field, along with an old-fashioned label:
Problem
It'd be nice to have an easy way to filter for projects matching a given keyword.
Solution
Implement a search box with a bit of a JS.
Just plain JS, no frameworks, no jQuery - in all my years of web dev, I'm not sure I've ever done that! A little clunkier, maybe, but it feels nice.
UI-wise, I don't use the USWDS search component, as that assumes a search button; we don't need one here, we can filter as the user types. Instead, I did something custom (or, rather, using more basic USWDS components) to put a search con on the left side of the field, along with an old-fashioned label:
Test Plan
Tested manually.