Closed semmatti closed 4 months ago
The examiners would like if they could have the ability to freeze their choices/their filter selections. Or let the user toggle to freeze or not freeze a set of selections. Otherwise, it would be nice to have it default to last settings.
@ozamani9gh This now needs to be a new ticket in the backlog. Nothing to QA Here
@rstens Sorry for missing the description. On Name Examination Search page, we have several dropdowns. When we re-visiting this page, we need to set those dropdowns every time to filter NRs.
So I implemented local storage to persist dropdown filters and now whenever we visit(or even refresh), it's populating dropdown choices from local storage. It means, they(examiners) don't need to set filters every time.
Let me know if I missed anything.
Thanks
Your unit tests are failing: please run npm run test and fix the issues @flutistar
Before creating PR, I ran npm run test
and all the cases were passed. @rstens
Unit tests are fine now: Learning point - run them with WSL
Verified in DEV and TEST.
This caused text input fields to stop working. Made text input fields into v-models for 2-way binding.
This is now in test.
State is remembered when page is refreshed or navigating away.
Text Inputs now search for matching letters as they are typed.
@flutistar can you please fix Mihai's test cases that failed. thanks
This was fixed on both DEV and TEST. Here are the URLs that I used:
@Mihai-QuickSilverDev @ozamani9gh
Search screen defaults to Hold, whereas some examiners prefer for it to remain static on a previous request type they had selected (such as Priority/Standard), because some examiners like to reference the search field when they suspect there may be upcoming duplicates.
Clarify with examiners if there should be an option to toggle between the current behaviour and the requested behaviour.
Please confirm with examiners whether to keep filters or clear filters when navigating away from search.