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

Add a statistics box #103

Conversation

YangYue128-helen
Copy link
Collaborator

Now you can view the number of done/ upcoming appointments for today/this week in the UI.

@YangYue128-helen YangYue128-helen added this to the v1.3 milestone Oct 19, 2020
@codecov-io
Copy link

codecov-io commented Oct 19, 2020

Codecov Report

Merging #103 into master will increase coverage by 0.35%.
The diff coverage is 67.30%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #103      +/-   ##
============================================
+ Coverage     75.83%   76.19%   +0.35%     
- Complexity      695      726      +31     
============================================
  Files           101      103       +2     
  Lines          2032     2096      +64     
  Branches        236      244       +8     
============================================
+ Hits           1541     1597      +56     
+ Misses          433      426       -7     
- Partials         58       73      +15     
Impacted Files Coverage Δ Complexity Δ
src/main/java/seedu/address/ui/MainWindow.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
.../main/java/seedu/address/ui/StatisticsDisplay.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...ava/seedu/address/model/AppointmentStatistics.java 83.33% <83.33%> (ø) 8.00 <8.00> (?)
...main/java/seedu/address/model/AppointmentBook.java 93.47% <92.30%> (-0.47%) 18.00 <3.00> (+3.00) ⬇️
...a/seedu/address/model/appointment/Appointment.java 94.11% <100.00%> (+0.17%) 37.00 <1.00> (+1.00)
...ain/java/seedu/address/model/appointment/Date.java 95.83% <100.00%> (+1.38%) 16.00 <3.00> (+3.00)
...n/java/seedu/address/commons/core/index/Index.java 61.53% <0.00%> (-38.47%) 12.00% <0.00%> (+2.00%) ⬇️
...rc/main/java/seedu/address/model/patient/Nric.java 66.66% <0.00%> (-13.34%) 7.00% <0.00%> (+1.00%) ⬇️
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a142a4f...10b6c5d. Read the comment docs.

@YangYue128-helen YangYue128-helen changed the title Brach add a statistics box Add a statistics box Oct 19, 2020
@YangYue128-helen YangYue128-helen linked an issue Oct 19, 2020 that may be closed by this pull request
@YangYue128-helen YangYue128-helen self-assigned this Oct 19, 2020
Copy link
Collaborator

@xz0127 xz0127 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the comments mentioned, the rest LGTM!! 👍

Copy link
Collaborator

@JinHao-L JinHao-L left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@YangYue128-helen YangYue128-helen added priority.Medium 🥈 Nice to have type.Enhancement 👍 New feature or improvement to existing story labels Oct 21, 2020
@YangYue128-helen YangYue128-helen merged commit f487463 into AY2021S1-CS2103T-T12-4:master Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority.Medium 🥈 Nice to have type.Enhancement 👍 New feature or improvement to existing story
Projects
None yet
Development

Successfully merging this pull request may close these issues.

View statistics of appointment book
4 participants