AY2425S1-CS2103T-W13-2 / tp

MIT License
0 stars 4 forks source link

Add appointments to person #117

Closed SuhailLoya closed 1 week ago

SuhailLoya commented 1 week ago

fixes #116

adds an appointment date field to person and a setappointment command to set / unset appointment date

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 16.66667% with 95 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...econnect/logic/commands/SetAppointmentCommand.java 0.00% 35 Missing :warning:
...java/careconnect/model/person/AppointmentDate.java 28.57% 12 Missing and 3 partials :warning:
...nect/logic/parser/SetAppointmentCommandParser.java 0.00% 14 Missing :warning:
...main/java/careconnect/logic/parser/ParserUtil.java 0.00% 6 Missing :warning:
...in/java/careconnect/model/util/SampleDataUtil.java 0.00% 6 Missing :warning:
...in/java/careconnect/storage/JsonAdaptedPerson.java 50.00% 4 Missing and 1 partial :warning:
src/main/java/careconnect/model/person/Person.java 57.14% 1 Missing and 2 partials :warning:
...java/careconnect/logic/commands/AddLogCommand.java 0.00% 2 Missing :warning:
...a/careconnect/logic/commands/DeleteLogCommand.java 0.00% 2 Missing :warning:
...in/java/careconnect/logic/commands/TagCommand.java 0.00% 2 Missing :warning:
... and 4 more
Files with missing lines Coverage Δ Complexity Δ
src/main/java/careconnect/logic/LogicManager.java 84.84% <ø> (ø) 6.00 <0.00> (?)
src/main/java/careconnect/logic/Messages.java 88.88% <100.00%> (ø) 3.00 <0.00> (?)
...n/java/careconnect/logic/commands/EditCommand.java 97.67% <100.00%> (ø) 13.00 <0.00> (?)
...ava/careconnect/logic/parser/AddCommandParser.java 100.00% <100.00%> (ø) 4.00 <0.00> (?)
src/main/java/careconnect/MainApp.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...va/careconnect/logic/parser/AddressBookParser.java 76.92% <0.00%> (ø) 13.00 <0.00> (?)
src/main/java/careconnect/ui/PersonCard.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...java/careconnect/logic/commands/AddLogCommand.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...a/careconnect/logic/commands/DeleteLogCommand.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...in/java/careconnect/logic/commands/TagCommand.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
... and 8 more
SuhailLoya commented 1 week ago

tests will be added by #118