Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

feat(patients): added live search to the patients search #1970

Merged
merged 6 commits into from Apr 7, 2020
Merged

feat(patients): added live search to the patients search #1970

merged 6 commits into from Apr 7, 2020

Conversation

hd-genius
Copy link
Contributor

Fixes #1840.

Changes proposed in this pull request:

  • Changed the patients list page to live search for patients as a user types
  • Removed the search button and the form submission handler from the patients page

Added live search functionality when searching for patients and removed the search button on the
patients page

fix #1840
@jsf-clabot
Copy link

jsf-clabot commented Apr 5, 2020

CLA assistant check
All committers have signed the CLA.

@vercel
Copy link

vercel bot commented Apr 5, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/hospitalrun/hospitalrun-frontend/7wc78wjav
✅ Preview: https://hospitalrun-frontend-git-fork-roy-stewart-1840.hospitalrun.now.sh

Added a missing dependency in the useEffect in the useDebounce hook

fix #1840
src/patients/list/Patients.tsx Outdated Show resolved Hide resolved
Moved the debounce hook into its own file to allow it to be reused

re #1840
@jackcmeyer
Copy link
Member

Once the linting issues get resolved, we will be able to merge this! Nice work @roy-stewart

@hd-genius
Copy link
Contributor Author

Thanks @jackcmeyer

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Patient Search should live search (debounce)
3 participants