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

Fix bugs with misuse of sample visits and update UG #212

Merged
merged 8 commits into from
Oct 27, 2020
Merged

Fix bugs with misuse of sample visits and update UG #212

merged 8 commits into from
Oct 27, 2020

Conversation

hopinxian
Copy link

This is a draft Pull Request

Bug: It is possible for MainApp to initialise using sample visits
without sample locations and persons. This is a bug since visitbook
would be having visits where the persons and locations involved
are not in personbook and locationbook.

Solution: If any of the location, person and visit data is empty,
use all of sample visits, persons and locations.
@hopinxian hopinxian added bug Something isn't working enhancement New feature or request priority.Medium Medium priority, do after high priority Implementation Coding required labels Oct 27, 2020
@hopinxian hopinxian added this to the v1.3 milestone Oct 27, 2020
@hopinxian hopinxian self-assigned this Oct 27, 2020
…into v1.3/Refactor

# Conflicts:
#	src/main/java/seedu/address/ui/HelpWindow.java
@hopinxian hopinxian marked this pull request as ready for review October 27, 2020 15:26
@codecov-io
Copy link

codecov-io commented Oct 27, 2020

Codecov Report

Merging #212 into master will increase coverage by 0.28%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #212      +/-   ##
============================================
+ Coverage     77.75%   78.04%   +0.28%     
  Complexity      996      996              
============================================
  Files           125      125              
  Lines          2985     2974      -11     
  Branches        399      397       -2     
============================================
  Hits           2321     2321              
+ Misses          535      524      -11     
  Partials        129      129              
Impacted Files Coverage Δ Complexity Δ
src/main/java/seedu/address/MainApp.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)

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 fe4b9a6...26d687b. Read the comment docs.

@hopinxian hopinxian changed the title Code Improvement Part 2 (Pin Xian) Fix bugs with misuse of sample visits and update UG Oct 27, 2020
Copy link

@hhdqirui hhdqirui left a comment

Choose a reason for hiding this comment

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

LGTM

@hhdqirui hhdqirui merged commit 531ee0f into AY2021S1-CS2103T-T13-1:master Oct 27, 2020
@hhdqirui
Copy link

Summary command table in UG is deleted. It can be added back with the correct commands in next iteration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request Implementation Coding required priority.Medium Medium priority, do after high priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants