Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

Update UserGuide.md #140

Merged
merged 5 commits into from
Nov 2, 2023
Merged

Conversation

limjunxian1
Copy link

This PR will:

  1. Finish updating all features under manage contact except updatephoto
  2. Updates notes under feature section and planned enhancements for some minor bugs that cannot be fixed (and people may complain that it is a bug)

Closes #139

@limjunxian1 limjunxian1 added this to the v1.3b milestone Nov 1, 2023
Copy link

@lordidiot lordidiot left a comment

Choose a reason for hiding this comment

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

Looks really good. Just some minor language changes, then let's merge this 👍

@@ -170,16 +171,16 @@ All planned enhancements will also be listed in the [Planned Enhancements / Know
**Notes about the command format:**<br>

* Words in `UPPER_CASE` are the parameters to be supplied by the user.<br>
e.g. in `add n/NAME`, `NAME` is a parameter which can be used as `add n/John Doe`.
e.g. In `add n/NAME`, `NAME` is an parameters which can be used as `add n/John Doe`.

Choose a reason for hiding this comment

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

Isn't a parameter correct here?

Copy link
Author

Choose a reason for hiding this comment

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

yes agreed, fixed in b33ffa8


* Items in square brackets are optional, ___with `addalt` as an exception. (Refer to [Add alternative information to contact](#add-alternative-information-to-contact) under Features)___<br>
e.g `n/NAME [t/TAG]` can be used as `n/John Doe t/friend` or as `n/John Doe`.
* Parameters in square brackets are optional fields, **with `addalt` and `edit` as an exception. (Refer to [Add alternative information to contact](#add-alternative-information-to-contact) and [Edit contact information](#edit-contact-information) under Features)**<br>

Choose a reason for hiding this comment

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

Suggested change
* Parameters in square brackets are optional fields, **with `addalt` and `edit` as an exception. (Refer to [Add alternative information to contact](#add-alternative-information-to-contact) and [Edit contact information](#edit-contact-information) under Features)**<br>
* Parameters in square brackets are optional, **with `addalt` and `edit` as an exception. (Refer to [Add alternative information to contact](#add-alternative-information-to-contact) and [Edit contact information](#edit-contact-information) under Features)**<br>

Not all parameters are fields

Copy link
Author

Choose a reason for hiding this comment

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

fixed in b33ffa8

* Items in square brackets are optional, ___with `addalt` as an exception. (Refer to [Add alternative information to contact](#add-alternative-information-to-contact) under Features)___<br>
e.g `n/NAME [t/TAG]` can be used as `n/John Doe t/friend` or as `n/John Doe`.
* Parameters in square brackets are optional fields, **with `addalt` and `edit` as an exception. (Refer to [Add alternative information to contact](#add-alternative-information-to-contact) and [Edit contact information](#edit-contact-information) under Features)**<br>
e.g In `n/NAME [t/TAG]`, `[t/TAG]` is an optional field which can be used as `n/John Doe t/friend` or as `n/John Doe`.

Choose a reason for hiding this comment

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

Suggested change
e.g In `n/NAME [t/TAG]`, `[t/TAG]` is an optional field which can be used as `n/John Doe t/friend` or as `n/John Doe`.
e.g In `n/NAME [t/TAG]`, `[t/TAG]` is an optional parameter which can be used as `n/John Doe t/friend` or as `n/John Doe`.

ditto

Copy link
Author

Choose a reason for hiding this comment

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

fixed in b33ffa8

* Adds John Doe's linkedin "john-doe-b9a38128a"
<box type="warning">

* You should provide a positive integer that is smaller than the number of contacts stored in CampusConnect for `PERSON_INDEX`.

Choose a reason for hiding this comment

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

Should it be smaller than the number of contacts currently listed?

Copy link
Author

Choose a reason for hiding this comment

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

nice catch, the index definitely could be the same as the number of contacts! fixed in b33ffa8


<box type="warning">

You are not allowed to edit any alternative contact information, i.e. `TELEGRAM`, `SECONDARY_EMAIL`, `LINKEDIN`, `BIRTHDAY` if any of these fields are empty. You will receive an error message that directs you to use [**`addalt`**](#add-alternative-information-to-contact) command.
* You should provide a positive integer that is smaller than the number of contacts stored in CampusConnect for `PERSON_INDEX`.

Choose a reason for hiding this comment

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

ditto

Copy link
Author

Choose a reason for hiding this comment

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

fixed in b33ffa8

@@ -295,21 +310,41 @@ You are required to input the absolute path to the photo for this command. If yo

### List all contacts: `list`

Shows a list of all contacts.
After using CampusConnect's [find contact](#find-contacts) feature that filters the contacts you are looking for, you may want to have an oversight of all your contacts again! Thus, CampusConnect allows you to list all your contacts.

Choose a reason for hiding this comment

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

Suggested change
After using CampusConnect's [find contact](#find-contacts) feature that filters the contacts you are looking for, you may want to have an oversight of all your contacts again! Thus, CampusConnect allows you to list all your contacts.
After using CampusConnect's [find contact](#find-contacts) feature that filters the contacts you are looking for, you may want to have an overview of all your contacts again! Thus, CampusConnect allows you to list all your contacts.

I think oversight is the wrong word choice here

Copy link
Author

Choose a reason for hiding this comment

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

fixed in b33ffa8


<box type="warning">

You should provide a positive integer that is smaller than the number of contacts stored in CampusConnect for `PERSON_INDEX`.

Choose a reason for hiding this comment

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

ditto

Copy link
Author

Choose a reason for hiding this comment

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

fixed inn b33ffa8

@@ -544,16 +579,22 @@ Note that the last example is **not equivalent** to `n/do && t/friend || t/colle
# Planned Enhancements / Known Issues

1. **When using multiple screens**, if you move the application to a secondary screen, and later switch to using only the primary screen, the GUI will open off-screen. The remedy is to delete the `preferences.json` file created by the application before running the application again.
2. **When executing `addalt` command**, if you input other prefixes that is not accepted by the command format, the error message shown does not prompt you to remove those prefixes and adhere strictly to the command format. We will be working on this in the future to improve the specificity of error messages.

Choose a reason for hiding this comment

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

Suggested change
2. **When executing `addalt` command**, if you input other prefixes that is not accepted by the command format, the error message shown does not prompt you to remove those prefixes and adhere strictly to the command format. We will be working on this in the future to improve the specificity of error messages.
2. **When executing `addalt` command**, if you input other prefixes that are not accepted by the command format, the error message shown does not prompt you to remove those prefixes and adhere strictly to the command format. We will be working on this in the future to improve the specificity of error messages.

Copy link
Author

Choose a reason for hiding this comment

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

nice catch of grammatical errors, fixed in b33ffa8

@@ -544,16 +579,22 @@ Note that the last example is **not equivalent** to `n/do && t/friend || t/colle
# Planned Enhancements / Known Issues

1. **When using multiple screens**, if you move the application to a secondary screen, and later switch to using only the primary screen, the GUI will open off-screen. The remedy is to delete the `preferences.json` file created by the application before running the application again.
2. **When executing `addalt` command**, if you input other prefixes that is not accepted by the command format, the error message shown does not prompt you to remove those prefixes and adhere strictly to the command format. We will be working on this in the future to improve the specificity of error messages.
3. **When executing `edit` command**, if you try to edit a specified contact to have the same [properties](#properties-of-contact) of another saved contact **(besides `NAME` with the same casing) in your contact list, CampusConnect allows you to do so. We plan to enhance the `edit` command such that it takes into account what makes a contact unique in your contact list.

Choose a reason for hiding this comment

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

Wow nice catch

Copy link

codecov bot commented Nov 2, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7b49239) 82.75% compared to head (37e72e5) 82.75%.
Report is 9 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #140   +/-   ##
=========================================
  Coverage     82.75%   82.75%           
  Complexity      754      754           
=========================================
  Files            99       99           
  Lines          2308     2308           
  Branches        258      258           
=========================================
  Hits           1910     1910           
  Misses          333      333           
  Partials         65       65           

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

@limjunxian1
Copy link
Author

realised that there is a misinterpretation of the comment on PERSON_INDEX instruction under each warning box, have fixed in 37e72e5

Copy link

@lordidiot lordidiot left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you for working on all the changes, very thorough work 👍

@limjunxian1 limjunxian1 merged commit 41bf224 into AY2324S1-CS2103T-T13-2:master Nov 2, 2023
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update UserGuide.md
2 participants