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

Search Bar Fails to Reset When Navigating Between Tabs #9845

Open
Jeffrin2005 opened this issue Jan 8, 2025 · 5 comments · May be fixed by #9867
Open

Search Bar Fails to Reset When Navigating Between Tabs #9845

Jeffrin2005 opened this issue Jan 8, 2025 · 5 comments · May be fixed by #9867
Assignees

Comments

@Jeffrin2005
Copy link
Contributor

Describe the bug
The search bar does not clear automatically when navigating to a different tab

To Reproduce
Steps to reproduce the behavior:

  1. Go to the "Encounters" tab.
  2. search user in search bar
  3. Navigate to another tab
  4. Observe that the search term remains visible in the search bar

Expected behavior
The search bar should clear automatically when navigating to a different tab.

Screenshots
Image

Desktop ():

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
@Jeffrin2005
Copy link
Contributor Author

@rithviknishad @Jacobjeevan Can I work on this issue ?

@github-actions github-actions bot added needs-triage question Further information is requested labels Jan 8, 2025
@AdityaJ2305
Copy link
Contributor

@Jeffrin2005, if this wasn’t intentional, it’s actually a handy feature! Users can switch tabs and multitask without losing their progress in a specific tab. Just sharing my thoughts—never mind. 😅

@rithviknishad rithviknishad closed this as not planned Won't fix, can't repro, duplicate, stale Jan 8, 2025
@rithviknishad rithviknishad reopened this Jan 8, 2025
@rithviknishad
Copy link
Member

Actually the objective was to keep the filters cached, but "except the one's in the search field".

cc: @Jacobjeevan

@rithviknishad rithviknishad removed question Further information is requested needs-triage labels Jan 8, 2025
@Jacobjeevan
Copy link
Contributor

Jacobjeevan commented Jan 8, 2025

To add to this, search parameters (name, encounterId and Identifier) should be reset when switching over to a different parameter. They should be adjusted in search as well. @Jeffrin2005

Screen.Recording.2025-01-08.at.5.27.17.PM.mov

@AdityaJ2305
Copy link
Contributor

AdityaJ2305 commented Jan 8, 2025

To add to this, search parameters (name, encounterId and Identifier) should be reset when switching over to a different parameter. They should be adjusted in search as well. @Jeffrin2005

Screen.Recording.2025-01-08.at.5.27.17.PM.mov

@Jacobjeevan , This will be solved in #9851

Screen.Recording.2025-01-08.at.7.13.08.PM.mov

@Jeffrin2005 Jeffrin2005 linked a pull request Jan 9, 2025 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants