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

Improve body measurement field #223

Merged

Conversation

ngchisern
Copy link

@ngchisern ngchisern commented Oct 30, 2021

  • Modify the class so that it accepts 'double' input
  • Add lower and upper bound for measurements
  • Fix inconsistent measurement prefix in UG
  • Correct wrong format for edit & edittask command in UG
  • Add file locations of taskbook and orderbook in UI

@ngchisern ngchisern added type.Bug A bug severity.High A flaw that affects most users and causes major problems for users labels Oct 30, 2021
@ngchisern ngchisern added this to the v1.4 milestone Oct 30, 2021
@codecov-commenter
Copy link

codecov-commenter commented Oct 30, 2021

Codecov Report

Merging #223 (4205b0d) into master (b1295db) will decrease coverage by 0.39%.
The diff coverage is 24.32%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #223      +/-   ##
============================================
- Coverage     58.94%   58.55%   -0.40%     
- Complexity      679      681       +2     
============================================
  Files           134      134              
  Lines          2609     2642      +33     
  Branches        300      304       +4     
============================================
+ Hits           1538     1547       +9     
- Misses          981     1001      +20     
- Partials         90       94       +4     
Impacted Files Coverage Δ
...rc/main/java/seedu/address/logic/LogicManager.java 64.28% <0.00%> (-4.95%) ⬇️
...in/java/seedu/address/logic/parser/ParserUtil.java 84.21% <0.00%> (-3.71%) ⬇️
src/main/java/seedu/address/model/Model.java 100.00% <ø> (ø)
...rc/main/java/seedu/address/model/ModelManager.java 60.97% <ø> (ø)
.../java/seedu/address/storage/JsonAdaptedPerson.java 97.05% <0.00%> (-2.95%) ⬇️
src/main/java/seedu/address/ui/MainWindow.java 0.00% <0.00%> (ø)
src/main/java/seedu/address/ui/PersonCard.java 0.00% <0.00%> (ø)
...rc/main/java/seedu/address/ui/StatusBarFooter.java 0.00% <0.00%> (ø)
...n/java/seedu/address/model/person/Measurement.java 75.00% <47.36%> (-21.00%) ⬇️
... and 1 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 b1295db...4205b0d. Read the comment docs.

@ngchisern ngchisern linked an issue Oct 30, 2021 that may be closed by this pull request
@GnohChengYi GnohChengYi self-requested a review November 1, 2021 11:09
@GnohChengYi GnohChengYi self-assigned this Nov 1, 2021
Copy link
Collaborator

@GnohChengYi GnohChengYi left a comment

Choose a reason for hiding this comment

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

Thanks for improving the code while fixing the issues. Just a small improvement to make (renaming for consistency).

src/main/java/seedu/address/logic/LogicManager.java Outdated Show resolved Hide resolved
* master:
  Update help command image
  Fix issues raised in PR
  Fix issue from PR review
  Update TaskList to UniqueTaskList
  Fix typo in UG for marktask command
  Update ListXCommand message
  Add upper limit on phone number field
  Update add command UG documentation
  Update display message to user for add and list commands
  Update MarkTaskCommand when task already marked
  Update UG to remind users modify measurement when they are editing the gender
  Update MarkOrderCommand when order already marked
  Improve error message for the case where the measurements are not modified when gender is edited
Copy link
Collaborator

@GnohChengYi GnohChengYi left a comment

Choose a reason for hiding this comment

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

LGTM!

@GnohChengYi GnohChengYi merged commit 027da6d into AY2122S1-CS2103T-W08-3:master Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity.High A flaw that affects most users and causes major problems for users type.Bug A bug
Projects
None yet
3 participants