User search query hook
Fixes #2008
What changes did you make and why did you make them ?
- replaced search query that originally used
useStatehook withuseContexthook - allows users to retain previous search queries when navigating back and forth
Fixes #1999
What changes did you make and why did you make them ?
- resolved bug that prevented updates to user profiles
- search queries and profile edits persist when toggling between all searches
Screenshots of Proposed Changes Of The Website
Visuals of applied changes
Hey James, thanks for working on another PR! Would you mind double checking the files you staged and comitted? Some Python changes are in your commited code here.
@trillium which particular file(s) are you referring to? I do not see any changes to any Python code.
Weird, I could have sworn I saw python changes related to this PR but I don't see them any longer 🤷♂️
Discussed with @trillium on the call - this PR is ready to be reviewed :)
Added "waiting to merge" label for now, because @jng34 is still working on addressing the persistence of the profile edits (changes to statuses and projects), which will be added to this PR.
Issue #1999 has been resolved in the latest commit. Ready for review and merge.
Thanks @jng34! @trillium this PR is ready for your review / merge whenever you have a moment :)
@trillium please take a look at this PR when you have a moment :)