forked from nus-cs2103-AY2324S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #298 from yucongkoo/branch-dev-guide
Update DG to include Planned Enhancements for tag and insurance command
- Loading branch information
Showing
7 changed files
with
126 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,8 +47,8 @@ embark on your journey of using EzContact. | |
2. Download the latest `EzContact.jar` from [here](https://github.com/AY2324S1-CS2103T-W16-2/tp/releases). | ||
|
||
3. Copy the file to the folder you want to use as the _home folder_ for your EzContact. | ||
4. Open up command prompt `cmd` and move to the application's directory by using `cd <directory>`. | ||
5. After reaching the directory, execute the command `java -jar EzContact.jar`. The GUI similar to the below should appear in a few seconds. | ||
4. Open a command terminal, `cd` into the folder you put the jar file in | ||
5. After reaching the folder, execute the command `java -jar EzContact.jar`. The GUI similar to the below should appear in a few seconds. | ||
Note how the app contains some sample data.<br><br>![Ui](images/Ui.png) | ||
5. Type the command in the [Command Box](#ui-layout-description) and press Enter to execute it. | ||
6. Refer to the [Features](#features) below for details of each command. | ||
|
@@ -96,6 +96,9 @@ click [here](#prefix-to-full-name-prefix-translation-table) to see a full table | |
* Extraneous parameters for commands that do not take in parameters (such as `help`, `list`, `exit` and `clear`) will be ignored.<br> | ||
e.g. if the command is `help 123`, it will be interpreted as `help`. | ||
|
||
* Unless otherwise stated, when specifying restrictions on number of characters, spaces in between words | ||
are included in the count, while leading and trailing spaces are excluded. | ||
|
||
* If you are using a PDF version of this document, be careful when copying and pasting commands that span multiple lines as space characters surrounding line-breaks may be omitted when copied over to the application. | ||
</div> | ||
|
||
|
@@ -130,7 +133,8 @@ Adds a new customer with the respective details to EzContact. | |
**Examples:** | ||
|
||
* `add n/Ryan Ong p/64238876 e/[email protected] t/tall t/skinny t/wears spectacles pr/medium i/car insurance`</br> | ||
Adds the following [Customer Card](#ui-layout-description) to the [Customer List Panel](#ui-layout-description) | ||
Adds the following [Customer Card](#ui-layout-description) to the [Customer List Panel](#ui-layout-description). Note how omission of optional parameters | ||
are allowed. | ||
|
||
![AddEg2](images/add-command-examples/example2.png) | ||
|
||
|
@@ -265,9 +269,9 @@ it will match a customer named `Song Guo Xuan` because all the specified keyword | |
**Description:** | ||
|
||
* Updates the tags assigned to the customer at `<index>` in the displayed customer list. | ||
* Tags are not case-sensitive (i.e. `friends` is equivalent to `FriEnds`), the UI will display tags in lower case. | ||
* Contiguous spaces will be treated as 1 single space. | ||
* Duplicate tags to add/delete will be ignored by EzContact. | ||
* Tags are not case-sensitive (i.e. `friends` is equivalent to `FriEnds`), the GUI will display tags in lower case. | ||
* Contiguous spaces in between words will be treated as 1 single space. | ||
* **Duplicate tags** to add/delete will be **ignored** by EzContact. | ||
* **Adding an existing tag** or **deleting a non-existing tag** will be **ignored** by EzContact. | ||
|
||
<box type="warning" seamless> | ||
|
@@ -447,6 +451,8 @@ After: | |
* This allows you to keep track of all your customers' appointment dates all within the same app | ||
* If you wish to delete the customer's appointment, use the command `deleteappt` | ||
|
||
<box type="warning" seamless> | ||
|
||
**Caution:** | ||
|
||
* The customer must not have a current appointment | ||
|
@@ -456,6 +462,9 @@ After: | |
* `<time>` format must be in 24h HH:MM format | ||
* `<venue>` cannot be longer than 30 characters | ||
|
||
|
||
</box> | ||
|
||
**Examples:** | ||
|
||
* `addappt 1 d/2025-12-12` adds an appointment on 12 Dec 2025 for the first customer in the displayed list | ||
|
@@ -484,6 +493,8 @@ After: | |
* Deletes a customer's appointment at `<index>` in the displayed customer list.\ | ||
* Used when the appointment has been cancelled. | ||
|
||
<box type="warning" seamless> | ||
|
||
**Caution:** | ||
|
||
* The customer must have a current appointment | ||
|
@@ -516,11 +527,15 @@ After: | |
* Deletes the current appointment. | ||
* Use to keep track of the number of completed appointments with the customer | ||
|
||
<box type="warning" seamless> | ||
|
||
**Caution:** | ||
* `<index>` should **only be one of** the indices shown in the displayed list | ||
* The customer at `<index>` must have a current appointment. | ||
* This cannot be undone. | ||
* | ||
|
||
</box> | ||
|
||
**Example:** | ||
* `markappt 1` increments the appointment counter of the first customer in the displayed list. | ||
|
||
|
@@ -545,11 +560,15 @@ After: | |
* Decrements the customer's completed appointments count at `<index>` by 1. | ||
* Use to reduce the appointment count of customers as needed. | ||
|
||
<box type="warning" seamless> | ||
|
||
**Caution:** | ||
* `<index>` should **only be one of** the indices shown in the displayed list | ||
* This cannot be undone. | ||
* The current appointment count must be greater than 0. | ||
|
||
</box> | ||
|
||
*Examples:* | ||
* `unmarkappt 1` decrements the appointment counter of the first customer in the displayed list by 1. | ||
|
||
|
@@ -563,12 +582,11 @@ After: | |
**Description** | ||
* Shows a list of all customers in EZContact and the size of the list. | ||
* You can return to viewing your full client list after executing a `find` command. | ||
|
||
**Caution:** | ||
* No parameter is needed for this command, all parameter provided will be ignored. | ||
|
||
**Example**: | ||
* `list` shows a list of all existing customers and the size of the list. | ||
* `list 123` will be interpreted as `list`. | ||
|
||
<br/> | ||
|
||
|
@@ -582,14 +600,8 @@ After: | |
|
||
**Description:** | ||
* Clears the customer list. | ||
|
||
<box type="warning" seamless> | ||
|
||
**Caution:** | ||
* No parameter is needed for this command, all parameter provided will be ignored. | ||
|
||
</box> | ||
|
||
**Examples:** | ||
|
||
* `clear` clears the customer list in EzContact. | ||
|
@@ -604,14 +616,8 @@ After: | |
|
||
**Description:** | ||
* Opens the help window. | ||
|
||
<box type="warning" seamless> | ||
|
||
**Caution:** | ||
* No parameter is needed for this command, all parameter provided will be ignored. | ||
|
||
</box> | ||
|
||
**Examples:** | ||
|
||
* `help` opens the help window. | ||
|
@@ -630,14 +636,8 @@ After: | |
|
||
**Description:** | ||
* Exits the program. | ||
|
||
<box type="warning" seamless> | ||
|
||
**Caution:** | ||
* No parameter is needed for this command, all parameter provided will be ignored. | ||
|
||
</box> | ||
|
||
**Examples:** | ||
|
||
* `exit` exits EzContact. | ||
|
Oops, something went wrong.