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

Save Prompt shouldn't show up when there is no change in the data in both Registration and Clinical apps. #308

Open
buvaneswari-arun opened this issue Oct 9, 2020 · 0 comments

Comments

@buvaneswari-arun
Copy link
Contributor

Save Prompt shouldn't show up when there is no change in the data in both Registration and Clinical apps.
Description
We should show Save Prompt in Registration First page/Clincal Consultation page only when there is new obs have entered or exiting obs have changed. But for now irrespective of the above check the popup shows up.
Steps to Reproduce:

Registration App:

  1. Add the below configuration in registration/app.json file under config section

“config” : {
“showSaveConfirmDialog” : true
}
2. Go to Registration -> new patient/ edit existing patient
3. Don't enter any data or change existing data
4. Try to navigate from the page to search/home page
5. You would be able to see the below Save Prompt even there is no new data has added.

Clinical App:

  1. Add the below configuration in clinical/app.json file under config section

“config” : {
“showSaveConfirmDialog” : true
}
2. Go to clinical -> select a patient from Active Queue -> Go to Consultation
3. Don't enter any data or change existing data
4. Try to navigate from the page to "Go to IPD dashboard" page/ Patient Queue page
5. You would be able to see the below Save Prompt even there is no new data has added.

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

No branches or pull requests

1 participant