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

Marcus/Replace all instances of person with task #107

Merged
merged 10 commits into from
Sep 28, 2020

Conversation

MarcTzh
Copy link

@MarcTzh MarcTzh commented Sep 27, 2020

Fix #99

@MarcTzh MarcTzh changed the title Replace all instances of person with task Marcus/Replace all instances of person with task Sep 27, 2020
@MarcTzh MarcTzh added this to the v1.2 milestone Sep 27, 2020
@MarcTzh MarcTzh added the priority.High Must do label Sep 27, 2020
Copy link

@BobbyZhouZijian BobbyZhouZijian left a comment

Choose a reason for hiding this comment

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

Generally looks good to me. Just have a few comments below.

Need to change some other things to tasks in the future as well.

@@ -308,9 +308,9 @@ Just add [this one line of code!](https://github.com/se-edu/addressbook-level3/c
**`PersonCard.java`:**

``` java
public PersonCard(Person person, int displayedIndex) {
public PersonCard(Person task, int displayedIndex) {

Choose a reason for hiding this comment

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

This is still not changed

Copy link
Author

Choose a reason for hiding this comment

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

These are in addremark.md not actual code, not sure if it needs to be changed

Copy link
Author

Choose a reason for hiding this comment

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

ok undid changes in these documents, please review again

Person personToEdit = lastShownList.get(index.getZeroBased());
Person editedPerson = new Person(personToEdit.getName(), personToEdit.getPhone(), personToEdit.getEmail(),
personToEdit.getAddress(), remark, personToEdit.getTags());
Person taskToEdit = lastShownList.get(index.getZeroBased());

Choose a reason for hiding this comment

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

The class here is still not changed to Task

Copy link
Author

Choose a reason for hiding this comment

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

same reply as above

Copy link
Author

Choose a reason for hiding this comment

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

ok undid changes in these documents, please review again

src/main/java/seedu/address/storage/JsonAdaptedTask.java Outdated Show resolved Hide resolved
Copy link

@BobbyZhouZijian BobbyZhouZijian left a comment

Choose a reason for hiding this comment

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

LGTM now

@BobbyZhouZijian BobbyZhouZijian merged commit 6fd2cec into AY2021S1-CS2103T-T12-3:master Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
tP tasks
  
Awaiting triage
Development

Successfully merging this pull request may close these issues.

None yet

2 participants