Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for global search and filters in CARE #7277

Closed
3 tasks
rithviknishad opened this issue Feb 26, 2024 · 1 comment
Closed
3 tasks

Support for global search and filters in CARE #7277

rithviknishad opened this issue Feb 26, 2024 · 1 comment

Comments

@rithviknishad
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently, to search for patients, assets or facilities, we have to go to its corresponding list page and search. We could improve the experience by providing a global search that can be used to search any of those.

Describe the solution you'd like

  • Open up a global search bar upon the keyboard shortcut.
  • When no filters are applied, the user could be prompted with available searches. "Search patients" / "Search facilities" / "Search assets" / etc.
  • Once the master search is selected, additional filters can be applied (see screenshot below)

Support for searching and filtering facility/assets/patients, each module can be added in separate PRs as a follow-up to the first implementation.

Additional context

  • We could use the following rescript component

Ref: https://www.npmjs.com/package/@pupilfirst/multiselect-dropdown
Preview: https://multiselect-dropdown.pupilfirst.com/

image image
  • Tailwind CSS's global search bar
image
@SinghYuvraj0506
Copy link
Contributor

Hey, it seems a very nice idea, we can add a feature like spotlight search offered by ios , where we can type various tags and as one presses enter that particular tag would be selected, or even we can provide some custom inputs in the spotlight like
field:value pair tags,

for example tags could be like:

  1. Search for : facilities / patients / assets
  2. location : Delhi/city

@rithviknishad rithviknishad closed this as not planned Won't fix, can't repro, duplicate, stale Feb 29, 2024
@github-project-automation github-project-automation bot moved this from Triage to Done in Care Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants