-
Notifications
You must be signed in to change notification settings - Fork 6
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
fix appointment bugs #166
fix appointment bugs #166
Conversation
Codecov Report
@@ Coverage Diff @@
## master #166 +/- ##
============================================
+ Coverage 66.70% 67.08% +0.37%
- Complexity 679 698 +19
============================================
Files 116 116
Lines 2658 2716 +58
Branches 288 309 +21
============================================
+ Hits 1773 1822 +49
+ Misses 790 787 -3
- Partials 95 107 +12
|
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.
Still some big issues with the bugs - especially regarding edit appointment
.append(appointment.getDescription()) | ||
.append("\n") | ||
.append("Date: ") | ||
.append(" | Date: ") | ||
.append(appointment.getDateTime()); |
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.
Can you change this appointment datetime string to "01 Jan 2024 09.00AM" format?
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.
sure! just added
LGTM previous issues were fixed |
This PR contains fixes for 7 main things
A:
Appointment message for add, delete, edit Appointments now shows the appropriate message upon success
B:
edit_appointment command now fixed to check for appropriate cases of:
C:
updated doctor's appointment list to contain edited appointment after calling edit_appt command. used to cause major bug that breaks application when the following commands are done in sequence
D:
fixed issue when editing a person's name does not change the appointments name
E:
fixed issue where after editing a person, his appointment details are lost in db.
F:
updated add appointment command to only accept timings between 9am to 5pm.
G:
changed appointments such that each timeslot can only have 1 appointment. i.e. 2 different doctors cannot have appointments on the same timeslot
Issues fixed and closed:
#125 #126 #128 #131 #133 #136 #139 #147 #149 #151 #153 #154 #156 #159 #163 #164