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

Reformat find by name command #51

Merged

Conversation

KrashKart
Copy link

@KrashKart KrashKart commented Oct 9, 2024

Intermediate step for find sub-category implementation (find by name, contact, email)

  • Create a temporary AbstractFindCommand class (to replace FindCommand later)
  • Change ContainsKeywordPredicate hierachy (separate into Name-, Contact0 and Email-, all extending from ContainsKeywordPredicate abstract class)
  • Other code format changes

Fixes #50

Let's
* create an abstract ContainsKeywordsPredicate class
* let Name-, Contact- and EmailContainsKeywordsPredicate inherit
from the abstract class

This is done to create a hierachy of Predicates used for the
various find commands: find by name, contact and email
This is so that we can use this as a template for the sub-commands
for Find
Temporarily correct until we implement the sub-categories of find
Temporary so the code does not break
@KrashKart KrashKart added type.Chore Something that needs to be done, but not a story, bug, or an epic. priority.High Must do labels Oct 9, 2024
@KrashKart KrashKart added this to the v1.2 milestone Oct 9, 2024
@KrashKart KrashKart self-assigned this Oct 9, 2024
@KrashKart KrashKart requested a review from yooplo October 9, 2024 16:08
@KrashKart KrashKart marked this pull request as draft October 9, 2024 16:09
@KrashKart KrashKart marked this pull request as ready for review October 9, 2024 16:14
Copy link

codecov bot commented Oct 9, 2024

I super sot
Copy link

@yooplo yooplo left a comment

Choose a reason for hiding this comment

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

looks good to me

@yooplo yooplo merged commit c9a4c6c into AY2425S1-CS2103T-F14a-4:master Oct 9, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority.High Must do type.Chore Something that needs to be done, but not a story, bug, or an epic.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reformat find by name command
2 participants