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

Filter Command is implemented. #2

Merged
merged 6 commits into from
Mar 5, 2019
Merged

Filter Command is implemented. #2

merged 6 commits into from
Mar 5, 2019

Conversation

barisbatuhan
Copy link

  • Filtering is implemented as a new command
  • "filter and/or/clear" processes are included in this command
  • User Guide is also updated
  • Addressbook is updated. Right now there are 2 addressbooks in the addressbook class. One of them holds the total contact list and the other one holds the filtered version.
  • TODO: Redo and Undo commands do not recognize filter command. This will be implemented in this week.

…filter clear.

- User Guide is updated with the addition of fiter command explanation.
- The necessary methods for filtering to take place are added in the AddressBook.java, Model.java and ModelManager.java classes
- A size returning function is created in the UniquePersonList.java class
- Instead of having only one person list in the addressbook, a second person list is created and implemented for every single method. It is necessary because when one list holds every contact information and the other list holds the filtered contacts to be showed.
- TODO: filtering is not working well with undo and redo operations. This will be implemented.
- TODO: a command remove-filtered-contacts will be added to remove all the filtered contacts at once.
- For undo and redo commands, filtering processes are cleared.
@barisbatuhan barisbatuhan merged commit 5229a4c into CS2103-AY1819S2-W16-4:master Mar 5, 2019
@barisbatuhan barisbatuhan added this to the v1.1 milestone Mar 17, 2019
@barisbatuhan barisbatuhan added type.Epic A big feature which can be broken down into smaller stories e.g. search type.Task Something that needs to be done, but not a story, bug, or an epic. e.g. Move testing code into a new priority.Medium Nice to have and removed type.Epic A big feature which can be broken down into smaller stories e.g. search labels Mar 17, 2019
@barisbatuhan barisbatuhan self-assigned this Mar 18, 2019
DMGREENHOUSE added a commit that referenced this pull request Mar 19, 2019
Adding Baris' filter implementations
barisbatuhan added a commit that referenced this pull request Mar 19, 2019
charnixon added a commit that referenced this pull request Apr 15, 2019
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.Task Something that needs to be done, but not a story, bug, or an epic. e.g. Move testing code into a new
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant