AY2425S1-CS2103T-T10-1 / tp

MIT License
0 stars 5 forks source link

View note #114

Closed LynetteLeeSiYing closed 21 hours ago

LynetteLeeSiYing commented 1 day ago

Description Views note of a person by specifying index or full name of the person.

New Features added

Screenshots

Screenshot 2024-10-30 at 4 43 40 PM

Snapshot of overflowing notes

image

Snapshot of empty note

close #113

codecov[bot] commented 1 day ago

Codecov Report

Attention: Patch coverage is 94.44444% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/main/java/seedu/address/ui/PersonCard.java 0.00% 2 Missing :warning:
...rc/main/java/seedu/address/model/ModelManager.java 91.66% 1 Missing :warning:
src/main/java/seedu/address/model/note/Note.java 50.00% 0 Missing and 1 partial :warning:
Files with missing lines Coverage Δ Complexity Δ
...java/seedu/address/logic/commands/ViewCommand.java 100.00% <100.00%> (ø) 16.00 <16.00> (?)
.../seedu/address/logic/parser/AddressBookParser.java 100.00% <100.00%> (ø) 19.00 <0.00> (+1.00)
.../seedu/address/logic/parser/ViewCommandParser.java 100.00% <100.00%> (ø) 3.00 <3.00> (?)
src/main/java/seedu/address/model/AddressBook.java 85.29% <ø> (ø) 13.00 <0.00> (ø)
src/main/java/seedu/address/model/Model.java 100.00% <ø> (ø) 1.00 <0.00> (ø)
...a/seedu/address/model/appointment/Appointment.java 100.00% <100.00%> (ø) 10.00 <1.00> (ø)
src/main/java/seedu/address/ui/HelpWindow.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
...rc/main/java/seedu/address/ui/PersonListPanel.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
...rc/main/java/seedu/address/model/ModelManager.java 95.45% <91.66%> (-0.85%) 27.00 <2.00> (+2.00) :arrow_down:
src/main/java/seedu/address/model/note/Note.java 95.45% <50.00%> (-2.17%) 15.00 <2.00> (+1.00) :arrow_down:
... and 1 more

... and 6 files with indirect coverage changes

Bonzzz3 commented 21 hours ago

Btw, there's a command summary table in help window file to update the new view command. Ui and logic LGTM!

Are you referring to the one in user guide? I think I have already included it, let me know if I am missing anything!

Oh it's in the help window under ui folder, you can see a method with a bunch of command summary objects.