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

refresh medhist panel when deletion executed #212

Merged
merged 5 commits into from
Apr 13, 2019

Conversation

Liuyy99
Copy link

@Liuyy99 Liuyy99 commented Apr 13, 2019

No description provided.

@siyingpoof siyingpoof requested review from siyingpoof and removed request for siyingpoof April 13, 2019 06:26
Copy link

@amuletxheart amuletxheart left a 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!

@Liuyy99 Liuyy99 merged commit aacc560 into cs2103-ay1819s2-w13-1:master Apr 13, 2019
Copy link

@siyingpoof siyingpoof left a 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.";

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.

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

Successfully merging this pull request may close these issues.

None yet

3 participants