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

Add filter contact list based on tag feature #59

Conversation

Lalelulilulela
Copy link

@Lalelulilulela Lalelulilulela commented Mar 31, 2024

closes #58
Filters contact list by tag

  • Command Format: filter t/TAG_NAME [more TAG_NAME...]

@Lalelulilulela Lalelulilulela added the enhancement New feature or request label Mar 31, 2024
@Lalelulilulela Lalelulilulela added this to the v1.3 milestone Mar 31, 2024
@Lalelulilulela Lalelulilulela self-assigned this Mar 31, 2024
Copy link

codecov bot commented Mar 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.22%. Comparing base (ffd23ed) to head (6a9b8d5).

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #59      +/-   ##
============================================
+ Coverage     80.73%   81.22%   +0.49%     
- Complexity      634      653      +19     
============================================
  Files            94       97       +3     
  Lines          1998     2040      +42     
  Branches        219      223       +4     
============================================
+ Hits           1613     1657      +44     
+ Misses          329      327       -2     
  Partials         56       56              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Lalelulilulela Lalelulilulela changed the title FindTag (filter list by tags) feature FilterTag feature Apr 1, 2024
# Conflicts:
#	src/test/java/seedu/address/testutil/TypicalPersons.java
…ommand

# Conflicts:
#	src/main/java/seedu/address/logic/parser/AddressBookParser.java
#	src/test/java/seedu/address/logic/parser/AddressBookParserTest.java
# Conflicts:
#	src/main/java/seedu/address/logic/parser/FindCommandParser.java
@ashleyy2444
Copy link
Collaborator

LGTM

/**
* Tests that a {@code Person}'s {@code Tag} matches any of the keywords given.
*/
public class TagContainsKeywordsPredicate implements Predicate<Person> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good naming of class

@Lalelulilulela Lalelulilulela merged commit 121a195 into AY2324S2-CS2103T-T08-3:master Apr 2, 2024
5 checks passed
@Lalelulilulela Lalelulilulela changed the title FilterTag feature Add filter contact list based on tag feature Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

As a Computer Science job seeker, I can filter my interview contact list based on their tags
2 participants