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

[UG] Update Find Command #174

Merged
merged 4 commits into from
Oct 27, 2020

Conversation

lyeyixian
Copy link
Collaborator

No description provided.

@lyeyixian lyeyixian added this to the v1.3 milestone Oct 25, 2020
@lyeyixian lyeyixian linked an issue Oct 25, 2020 that may be closed by this pull request
Copy link

@jiaweiteo jiaweiteo left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -58,6 +63,7 @@ Command | Parameters | Description
`delete -OBJECT` | `OBJECT` activity/ accommodation/ person/ travelplan | Deletes the given object type
`edit -OBJECT` | `OBJECT` activity/ accommodation/ person/ travelplan | Edits the details of the given object type
`goto PLAN_NAME` | `PLAN_NAME` nameOfTravelPlan/ wishlist | Navigate to the specific travel plan/ wishlist
`find -OBJECT` | `OBJECT` activity/ accommodation/ person | Finds the given object type whose names contain any of the given keywords

Choose a reason for hiding this comment

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

i think for all the find command in the table, we should change to COMMAND -OBJECT KEYWORD, then the parameters add in KEYWORD find object that contains this keyword

Choose a reason for hiding this comment

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

I did this for my delete command, think we shld do it for all commands on the table. Add the additional parameter for the commands that require it. Like delete -object index

@@ -58,6 +63,7 @@ Command | Parameters | Description
`delete -OBJECT` | `OBJECT` activity/ accommodation/ person/ travelplan | Deletes the given object type
`edit -OBJECT` | `OBJECT` activity/ accommodation/ person/ travelplan | Edits the details of the given object type
`goto PLAN_NAME` | `PLAN_NAME` nameOfTravelPlan/ wishlist | Navigate to the specific travel plan/ wishlist
`find -OBJECT KEYWORD` | `OBJECT` activity/ accommodation/ person<br/> `KEYWORD` keywords to search for | Finds the given object type whose names contain any of the given keywords
Copy link
Collaborator

Choose a reason for hiding this comment

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

find friend instead of person?

@codecov-io
Copy link

Codecov Report

Merging #174 into master will decrease coverage by 0.25%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #174      +/-   ##
============================================
- Coverage     66.17%   65.92%   -0.26%     
- Complexity      766      768       +2     
============================================
  Files           116      116              
  Lines          2510     2512       +2     
  Branches        309      307       -2     
============================================
- Hits           1661     1656       -5     
- Misses          724      733       +9     
+ Partials        125      123       -2     
Impacted Files Coverage Δ Complexity Δ
...in/java/seedu/address/model/wishlist/Wishlist.java 30.95% <0.00%> (-13.50%) 9.00% <0.00%> (+2.00%) ⬇️
src/main/java/seedu/address/model/Directory.java 100.00% <0.00%> (ø) 1.00% <0.00%> (ø%)
...ava/seedu/address/model/travelplan/TravelPlan.java 81.31% <0.00%> (+0.20%) 34.00% <0.00%> (+1.00%)
...rc/main/java/seedu/address/model/ModelManager.java 76.36% <0.00%> (+2.97%) 34.00% <0.00%> (-1.00%) ⬆️

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 7e3b308...7baf87d. Read the comment docs.

@lyeyixian lyeyixian merged commit 5c98db6 into AY2021S1-CS2103-T14-3:master Oct 27, 2020
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.

[UG] Find Command
4 participants