forked from nus-cs2103-AY2425S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add to UG command summary #191
Merged
riccoljy
merged 2 commits into
AY2425S1-CS2103T-F15-4:master
from
dasha3412:branch-addToUG
Oct 31, 2024
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,8 @@ | |
|
||
# WedLinker User Guide | ||
|
||
WedLinker is a **desktop app for managing contacts, optimized for use via a Line Interface** (CLI) while still having the benefits of a Graphical User Interface (GUI). If you can type fast, AB3 can get your contact management tasks done faster than traditional GUI apps. | ||
WedLinker is a **desktop app for managing contacts, optimized for use via a Line Interface** (CLI) while still having the benefits of a Graphical User Interface (GUI). </br> | ||
If you can type fast, WedLinker can get your contact management tasks done faster than traditional GUI apps. | ||
|
||
<!-- * Table of Contents --> | ||
<page-nav-print /> | ||
|
@@ -15,17 +16,21 @@ WedLinker is a **desktop app for managing contacts, optimized for use via a Lin | |
|
||
## Quick start | ||
|
||
1. Ensure you have Java `17` or above installed in your Computer. | ||
1. Ensure you have `Java 17` or above installed in your Computer. If you do not have Java 17 installed, or you are unsure, refer to the guide below. | ||
1. Download `Java 17` from the official website: https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html | ||
2. Select the installation package based on your Operating System. For Apple users select macOS, for Windows users select Windows. | ||
3. Follow the instruction guide to install Java on your device. For more information use this guide: https://docs.oracle.com/en/java/javase/23/install/overview-jdk-installation.html | ||
|
||
1. Download the latest `.jar` file from [here](https://github.com/se-edu/addressbook-level3/releases). | ||
2. Download the latest version of WedLinker from [here](https://github.com/AY2425S1-CS2103T-F15-4/tp/releases/). Select `WedLinker.jar` to begin the download. | ||
![release.png](images/release.png) | ||
|
||
1. Copy the file to the folder you want to use as the _home folder_ for your AddressBook. | ||
3. Copy the file to the folder you want to use as the _home folder_ for your WedLinker. | ||
|
||
1. Open a command terminal, `cd` into the folder you put the jar file in, and use the `java -jar addressbook.jar` command to run the application.<br> | ||
4. Open WedLinker by double clicking the program file, `WedLinker.jar`.<br> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure whether for everyday users we are also encouraging double clicking to open |
||
A GUI similar to the below should appear in a few seconds. Note how the app contains some sample data.<br> | ||
![Ui](images/Ui.png) | ||
|
||
1. Type the command in the command box and press Enter to execute it. e.g. typing **`help`** and pressing Enter will open the help window.<br> | ||
5. Type the command in the command box and press Enter to execute it. e.g. typing **`help`** and pressing Enter will open the help window.<br> | ||
Some example commands you can try: | ||
|
||
* `list` : Lists all contacts. | ||
|
@@ -38,12 +43,11 @@ WedLinker is a **desktop app for managing contacts, optimized for use via a Lin | |
|
||
* `exit` : Exits the app. | ||
|
||
1. Refer to the [Features](#features) below for details of each command. | ||
6. Refer to the [Features](#features) below for details of each command. | ||
|
||
-------------------------------------------------------------------------------------------------------------------- | ||
|
||
# Features | ||
## General Features | ||
|
||
<box type="info" seamless> | ||
|
||
|
@@ -58,37 +62,47 @@ WedLinker is a **desktop app for managing contacts, optimized for use via a Lin | |
* Items with `…` after them can be used multiple times including zero times.<br> | ||
e.g. `[t/TAG]…` can be used as ` ` (i.e. 0 times), `t/friend`, `t/friend t/family` etc. | ||
|
||
* Commands in WedLinker uses prefix to specify the parameters, the prefixes are stated as such: | ||
* n/ Name | ||
* a/ Address | ||
* p/ Phone Number | ||
* e/ Email | ||
* t/ Tag | ||
* w/ Wedding | ||
* tk/ Task | ||
|
||
* Parameters can be in any order.<br> | ||
e.g. if the command specifies `n/NAME p/PHONE_NUMBER`, `p/PHONE_NUMBER n/NAME` is also acceptable. | ||
|
||
* 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 specifies `help 123`, it will be interpreted as `help`. | ||
|
||
* 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. | ||
</box> | ||
</box> | ||
|
||
## General Features | ||
|
||
### Viewing help : `help` | ||
|
||
Shows a message explaning how to access the help page. | ||
|
||
//Reminder to update the link of help | ||
![help message](images/helpMessage.png) | ||
|
||
Format: `help` | ||
|
||
### Listing all Persons : `list` | ||
|
||
Shows a list of all saved [Persons](#adding-a-person-add) in the WedLinker. | ||
Shows a list of all saved [Persons](#person-features) in the WedLinker. | ||
|
||
Format: `list` | ||
|
||
### Listing all Weddings : `list-weddings` | ||
|
||
Shows a list of all [Weddings](#adding-a-wedding--create-wedding) in the WedLinker. | ||
Shows a list of all [Weddings](#wedding-features) in the WedLinker. | ||
|
||
### Listing all Tasks : `list-tasks` | ||
|
||
Shows a list of all [Tasks](#creating-a-task--create-task) in the WedLinker | ||
Shows a list of all [Tasks](#task-features) in the WedLinker | ||
|
||
### Locating contacts by any field, similar to a search function: `find` | ||
|
||
|
@@ -100,21 +114,14 @@ Format: `find PREFIX KEYWORD [KEYWORD]…` | |
* The search will return partial matches and full matches | ||
* The order of the keywords does not matter. e.g. `Hans Bo` will match `Bo Hans` | ||
|
||
Examples of Prefixes: | ||
* n/ Name | ||
* a/ Address | ||
* p/ Phone Number | ||
* e/ Email | ||
* t/ Tag | ||
* w/ Wedding | ||
* tk/ Task | ||
|
||
Examples: | ||
* `find n/John` returns `john` and `John Doe` | ||
* `find n/alex david` returns `Alex Yeoh`, `David Li`<br> | ||
![result for 'find alex david'](images/findAlexDavidResult.png) | ||
* `find t/Friends` returns all Contacts tagged with Friends | ||
* `find w/Amy's Wedding` returns all Contacts involved with Amy's Wedding | ||
![result for 'find n/alex david'](images/findCommandName.png) | ||
* `find t/friends` returns all Contacts tagged with Friends <br> | ||
![result for `find t/friends](images/findCommandTag.png) | ||
* `find w/Amy's Wedding` returns all Contacts involved with Amy's Wedding <br> | ||
![result for 'find w/Casey'](images/findCommandWedding.png) | ||
|
||
### Clearing all entries : `clear` | ||
|
||
|
@@ -130,17 +137,17 @@ Format: `exit` | |
|
||
### Saving the data | ||
|
||
AddressBook data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually. | ||
WedLinker data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually. | ||
|
||
### Editing the data file | ||
|
||
AddressBook data are saved automatically as a JSON file `[JAR file location]/data/addressbook.json`. Advanced users are welcome to update data directly by editing that data file. | ||
WedLinker data are saved automatically as a JSON file `[JAR file location]/data/WedLinker.json`. Advanced users are welcome to update data directly by editing that data file. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we left it as |
||
|
||
<box type="warning" seamless> | ||
|
||
**Caution:** | ||
If your changes to the data file makes its format invalid, AddressBook will discard all data and start with an empty data file at the next run. Hence, it is recommended to take a backup of the file before editing it.<br> | ||
Furthermore, certain edits can cause the AddressBook to behave in unexpected ways (e.g., if a value entered is outside the acceptable range). Therefore, edit the data file only if you are confident that you can update it correctly. | ||
If your changes to the data file makes its format invalid, WedLinker will discard all data and start with an empty data file at the next run. Hence, it is recommended to take a backup of the file before editing it.<br> | ||
Furthermore, certain edits can cause the WedLinker to behave in unexpected ways (e.g., if a value entered is outside the acceptable range). Therefore, edit the data file only if you are confident that you can update it correctly. | ||
</box> | ||
|
||
## Person Features | ||
|
@@ -157,8 +164,8 @@ Format: `add n/NAME [p/PHONE_NUMBER] [e/EMAIL] [a/ADDRESS] [t/TAG]… [w/WEDD | |
</box> | ||
|
||
Examples: | ||
* `add n/John Doe p/98765432 e/[email protected] a/John street, block 123, #01-01` | ||
* `add n/Betsy Crowe t/friend e/[email protected] a/Newgate Prison p/1234567 t/criminal` | ||
* `add n/John Doe p/98765432 e/[email protected] a/XYZ Floral Services` | ||
* `add n/Betsy Crowe e/[email protected] a/ABC Photo Studio p/1234567 t/Photographer` | ||
|
||
### Editing a person : `edit` | ||
|
||
|
@@ -186,9 +193,9 @@ Format: `delete INDEX` | |
|
||
Examples: | ||
* `list` followed by `delete 2` deletes the 2nd person in the address book. | ||
* `find Betsy` followed by `delete 1` deletes the 1st person in the results of the `find` command. | ||
* `find n/Betsy` followed by `delete 1` deletes the 1st person in the results of the `find` command. | ||
|
||
### Tag Features | ||
## Tag Features | ||
|
||
### Adding a tag : `create-tag` | ||
|
||
|
@@ -233,7 +240,7 @@ Format: `delete-tag t/TAGNAME [f/]` | |
* The `Tag` cannot be assigned to any contacts. | ||
* If the `Tag` is in used, you can use `f/` to force the deletion of the `Tag` and unassign this tag from all contacts. | ||
|
||
### Wedding Features | ||
## Wedding Features | ||
|
||
### Adding a Wedding : `create-wedding` | ||
|
||
|
@@ -287,7 +294,7 @@ Format: `delete-wedding w/WEDDINGNAME [f/]` | |
* The no contacts should be assigned to the `Wedding` before it is deleted. | ||
* If there are still contacts assigned, you can use `f/` to force the deletion of the `Wedding` and unassign all contacts. | ||
|
||
### Task Features | ||
## Task Features | ||
|
||
### Creating a Task : `create-task` | ||
|
||
|
@@ -301,7 +308,6 @@ Deletes a `Task` from WedLinker | |
|
||
Format: `delete-task INDEX` | ||
|
||
|
||
### Assigning a Task to a contact : `assign-task` **(WIP)** | ||
|
||
### Unassigning a Task from a contact : `unassign-task` **(WIP)** | ||
|
@@ -311,7 +317,7 @@ Format: `delete-task INDEX` | |
## FAQ | ||
|
||
**Q**: How do I transfer my data to another Computer?<br> | ||
**A**: Install the app in the other computer and overwrite the empty data file it creates with the file that contains the data of your previous AddressBook home folder. | ||
**A**: Install the app in the other computer and overwrite the empty data file it creates with the file that contains the data of your previous WedLinker home folder. | ||
|
||
-------------------------------------------------------------------------------------------------------------------- | ||
|
||
|
@@ -326,10 +332,24 @@ Format: `delete-task INDEX` | |
|
||
Action | Format, Examples | ||
-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ||
**Add** | `add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]…` <br> e.g., `add n/James Ho p/22224444 e/[email protected] a/123, Clementi Rd, 1234665 t/friend t/colleague` | ||
**Add** | `add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]…` <br> e.g., `add n/James Ho p/22224444 e/[email protected] a/123, Clementi Rd, 1234665 t/florist` | ||
**Assign Wedding** | `assign-wedding PERSON_INDEX w/WEDDING…` or `asw PERSON_INDEX w/WEDDING…` <br> e.g., `asw 2 w/Casey's Wedding w/Wedding August 29th` | ||
**Clear** | `clear` | ||
**Create Tag** | `create-tag t/TAG` or `ctag t/TAG` <br> e.g., `create-tag t/photographer` | ||
**Create Task** | `create-task tk/TASK_TYPE TASK_DETAILS` or `ctask tk/TASK_TYPE TASK_DETAILS` <br> e.g., `create-task tk/todo Order Wedding Cake` <br> `create-task tk/event Meet Caterer /from 2024-11-19 /to 2024-11-20` <br> `create-task tk/deadline Book Venue /by 2025-02-01` | ||
**Create Wedding** | `create-wedding w/WEDDING` or `cw w/WEDDING` <br> e.g., `cw w/JJ's Wedding` | ||
**Delete** | `delete INDEX`<br> e.g., `delete 3` | ||
**Delete Tag** | `delete-tag t/TAG` or `dtag t/TAG` <br> e.g., `delete-tag t/photographer` | ||
**Delete Task** | `delete-task INDEX` or `dtask INDEX` <br> e.g., `dtask 6` | ||
**Delete Wedding** | `delete-wedding w/WEDDING` or `dw w/WEDDING` <br> e.g., `delete-wedding w/Lav's Wedding` | ||
**Edit** | `edit INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [a/ADDRESS] [t/TAG]…`<br> e.g.,`edit 2 n/James Lee e/[email protected]` | ||
**Find** | `find KEYWORD [MORE_KEYWORDS]`<br> e.g., `find James Jake` | ||
**List** | `list` | ||
**Edit Wedding** | `edit-wedding WEDDING_INDEX [p1/PERSON_INDEX] [p2/PERSON_INDEX] [a/ADDRESS] [d/DATE]…`<br> or <br> `ew WEDDING_INDEX [p1/PERSON_INDEX] [p2/PERSON_INDEX] [a/ADDRESS] [d/DATE]…` <br> e.g.,`edit-wedding 2 p1/3 a/Jurong Christian Church` | ||
**Exit** | `exit` | ||
**Find** | `find [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [a/ADDRESS] [t/TAG] [w/WEDDING]`<br> e.g., `find n/James Jake` | ||
**Help** | `help` | ||
**List** | `list` | ||
**List Weddings** | `list-weddings` or `lw` | ||
**List Tasks** | `list-tasks` or `lt` | ||
**Tag** | `tag INDEX [t/TAG]…` <br> e.g., `tag 2 t/florist t/photographer` | ||
**Unassign Wedding** | `unassign-wedding PERSON_INDEX w/WEDDING…` or `uw PERSON_INDEX w/WEDDING…` <br> e.g., `uw 2 w/John's Wedding` | ||
**Untag** | `untag INDEX [t/TAG]…` <br> e.g., `untag 4 t/available t/chef` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessary to change numbering as GFMD/MD helps do the auto numbering and this might make it more difficult for putting a point before this in the future