-
Notifications
You must be signed in to change notification settings - Fork 5
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
refresh medhist panel when deletion executed #212
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good addition to solve the issue where your medical history browser panel does not get updated when a patient/doctor is deleted. You made efforts to follow the existing coding conventions and refactored "magic numbers" to constants instead. Overall, good job!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well done in making the app clearer in the UI for the user to see the real time changes made to the medical histories. very clean code too. maybe moving forward, can add more test cases to increase coverage of these codes.
public static final String DEFAULT_MED_HIST_PAGE = ""; | ||
|
||
public static final String MESSAGE_PATIENT_DELETED = "Patient Deleted."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, here you found some "magic numbers" and refactored them into constants.
No description provided.