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

Branch a searchcommand #35

Merged

Conversation

peterXGD
Copy link
Collaborator

Did the search command, have also done the checkstyle

@peterXGD peterXGD added the priority.high Due within 1 week label Mar 19, 2024
@peterXGD peterXGD added this to the v1.2 milestone Mar 19, 2024
@peterXGD peterXGD closed this Mar 19, 2024
@peterXGD peterXGD reopened this Mar 19, 2024
Copy link

codecov bot commented Mar 19, 2024

Codecov Report

Attention: Patch coverage is 86.11111% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 74.94%. Comparing base (abec874) to head (fb36778).

Files Patch % Lines
...seedu/address/logic/commands/SearchTagCommand.java 73.33% 2 Missing and 2 partials ⚠️
.../seedu/address/logic/parser/AddressBookParser.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master      #35      +/-   ##
============================================
+ Coverage     74.73%   74.94%   +0.21%     
- Complexity      442      456      +14     
============================================
  Files            74       76       +2     
  Lines          1417     1453      +36     
  Branches        139      144       +5     
============================================
+ Hits           1059     1089      +30     
- Misses          324      327       +3     
- Partials         34       37       +3     

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

/**
* Format search instructions for every command for display.
*/
public class SearchCommand extends Command {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would it be better to change the class name to SearchTagCommand? Since there is a possibility of implementing search by person in the future

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes. I have renamed it to search tag. As of now, for the current search command, it is named as search only as no implementation of searching by other means exist yet.

Copy link
Collaborator

@peienlim peienlim left a comment

Choose a reason for hiding this comment

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

lgtm

@peterXGD peterXGD merged commit 2f96517 into AY2324S2-CS2103T-T11-3:master Mar 21, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority.high Due within 1 week
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants