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

[CS2103T-W11-4] NUSearch #72

Open
wants to merge 362 commits into
base: master
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Feb 19, 2022

NUSearch helps students and faculty members connect with each other professionally. It is optimized for users that prioritise ease of use, speed and unambiguity.

@codecov-commenter
Copy link

codecov-commenter commented Feb 19, 2022

Codecov Report

Merging #72 (4debdb0) into master (4f7660a) will increase coverage by 5.21%.
The diff coverage is 88.59%.

@@             Coverage Diff              @@
##             master      #72      +/-   ##
============================================
+ Coverage     72.15%   77.37%   +5.21%     
- Complexity      399      623     +224     
============================================
  Files            70       92      +22     
  Lines          1232     1746     +514     
  Branches        125      200      +75     
============================================
+ Hits            889     1351     +462     
- Misses          311      340      +29     
- Partials         32       55      +23     
Impacted Files Coverage Δ
...va/seedu/address/logic/commands/CommandResult.java 88.88% <0.00%> (+0.65%) ⬆️
.../seedu/address/logic/parser/ArgumentTokenizer.java 97.36% <ø> (ø)
...rc/main/java/seedu/address/model/person/Email.java 90.00% <ø> (+10.00%) ⬆️
.../java/seedu/address/model/util/SampleDataUtil.java 14.28% <0.00%> (-5.72%) ⬇️
...ain/java/seedu/address/storage/StorageManager.java 94.44% <ø> (ø)
src/main/java/seedu/address/ui/HelpWindow.java 0.00% <ø> (ø)
src/main/java/seedu/address/ui/MainWindow.java 0.00% <0.00%> (ø)
src/main/java/seedu/address/ui/PersonCard.java 0.00% <0.00%> (ø)
.../seedu/address/logic/parser/AddressBookParser.java 84.61% <66.66%> (-15.39%) ⬇️
...seedu/address/logic/commands/FavouriteCommand.java 76.66% <76.66%> (ø)
... and 52 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 4f7660a...4debdb0. Read the comment docs.

@ghost ghost closed this Feb 25, 2022
@ghost ghost reopened this Feb 25, 2022
eugenechiaannyao and others added 27 commits March 16, 2022 00:53
# Conflicts:
#	src/test/java/seedu/address/testutil/TypicalPersons.java
 into implement-undo-redo

# Conflicts:
#	src/main/java/seedu/address/model/AddressBook.java
* branch-Favourites:
  Fix bugs in test cases
  Add Junit test
  Add Junit test
  Add Junit test
  Fix checkstyle in main
  Modify person equals and command equals method to ignore favourites
  Fix bugs in test case
  Add test cases for AddressBookParser
  Add unfavourite command
  Add list favourites command
  Add favourite command

# Conflicts:
#	src/main/java/seedu/address/logic/commands/EditCommand.java
#	src/main/java/seedu/address/logic/parser/AddCommandParser.java
#	src/main/java/seedu/address/logic/parser/AddressBookParser.java
#	src/main/java/seedu/address/model/person/Person.java
#	src/main/java/seedu/address/model/util/SampleDataUtil.java
#	src/main/java/seedu/address/storage/JsonAdaptedPerson.java
#	src/main/resources/view/PersonListCard.fxml
#	src/test/java/seedu/address/logic/commands/CommandTestUtil.java
#	src/test/java/seedu/address/logic/parser/AddressBookParserTest.java
#	src/test/java/seedu/address/model/person/PersonTest.java
#	src/test/java/seedu/address/storage/JsonAdaptedPersonTest.java
#	src/test/java/seedu/address/testutil/EditPersonDescriptorBuilder.java
#	src/test/java/seedu/address/testutil/PersonBuilder.java
#	src/test/java/seedu/address/testutil/TypicalPersons.java
Role field is case insensitive.

A case insensitive find is more user-friendly because users cannot be
expected to type the exact case of the keywords every time.

Let's,
* create a Class called Role and include it in the Person model
* implement automated testing Role class
* include role field in existing automated tests
* 'master' of https://github.com/tanweien/tp:
  Edit checkstyle
  Added test for Person and Faculty. Edited typo errors.
  Edit checkstyle
  Edit checkstyle
  Edit checkstyle
  Edit checkstyle
  Add Faculty Tag
  Amend checkstyle errors
  Added a short guide on User Commands in help function
  Implement unit testing in TagCommandTest, AddressBookParserTest, TagCommandParserTest, TagContainsKeywordsPredicateTest
  Add TagCommand feature to filter staff contacts based on tag

# Conflicts:
#	src/main/java/seedu/address/logic/commands/EditCommand.java
#	src/main/java/seedu/address/logic/parser/AddCommandParser.java
#	src/main/java/seedu/address/logic/parser/AddressBookParser.java
#	src/main/java/seedu/address/model/person/Person.java
#	src/main/java/seedu/address/model/util/SampleDataUtil.java
#	src/main/java/seedu/address/storage/JsonAdaptedPerson.java
#	src/main/resources/view/PersonListCard.fxml
#	src/test/java/seedu/address/logic/commands/CommandTestUtil.java
#	src/test/java/seedu/address/logic/parser/AddressBookParserTest.java
#	src/test/java/seedu/address/model/person/PersonTest.java
#	src/test/java/seedu/address/storage/JsonAdaptedPersonTest.java
#	src/test/java/seedu/address/testutil/EditPersonDescriptorBuilder.java
#	src/test/java/seedu/address/testutil/PersonBuilder.java
#	src/test/java/seedu/address/testutil/TypicalPersons.java
Issue#9, #10 - Add favourite feature and list favourite feature
Find command can now filter out contacts based on faculty and role, in addition to name.

A case insensitive find is more user-friendly because users cannot be
expected to type the exact case of the keywords every time.

Let's,
* modify the NameContainsPredicate class to NameFacultyRoleContainsPredicate
* implement automated testing NameFacultyRoleContainsPredicate class and FindCommand class
…role-field-branch

# Conflicts:
#	src/main/java/seedu/address/logic/commands/EditCommand.java
#	src/main/java/seedu/address/logic/parser/AddCommandParser.java
#	src/main/java/seedu/address/model/person/Person.java
#	src/main/java/seedu/address/model/util/SampleDataUtil.java
#	src/main/java/seedu/address/storage/JsonAdaptedPerson.java
#	src/test/java/seedu/address/logic/commands/CommandTestUtil.java
#	src/test/java/seedu/address/storage/JsonAdaptedPersonTest.java
#	src/test/java/seedu/address/testutil/PersonBuilder.java
#	src/test/java/seedu/address/testutil/TypicalPersons.java
Add role field branch, Incorporate faculty and role under Find feature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants