forked from nus-cs2103-AY2324S2/tp
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Improve User Guide #126
Merged
shayaansultan
merged 4 commits into
AY2324S2-CS2103T-T17-2:master
from
hjungwoo01:125-improve-ug
Apr 6, 2024
+68
−48
Merged
Improve User Guide #126
Changes from all commits
Commits
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,57 +6,66 @@ | |
|
||
# ContactSwift User Guide | ||
|
||
ContactSwift is a **desktop app for managing emplyoee contacts, optimized for use via a Command Line Interface** (CLI) while still having the benefits of a Graphical User Interface (GUI). If you can type fast, ContactSwift can get your contact management tasks done faster than traditional GUI apps. | ||
Welcome to ContactSwift, the **desktop app for managing employee contacts and tasks**, optimized for use via a Command Line Interface (CLI) while still offering the Graphical User Interface (GUI) benefits. Designed for small business owners, managers, and team leaders, ContactSwift streamlines contact management and task tracking, especially for those managing remote teams. | ||
|
||
This APP allows small business owners to manage their employees intuitively using simple commands and a compact list of their information. A key advantage of using this APP is the feature that allows users to track their employees tasks and completion rate, adding on the ability to filter your employee list using specific parameters! | ||
**Key Features:** | ||
- Fast and efficient contact management through CLI commands. | ||
- Task tracking and productivity analysis with completion rate statistics. | ||
- Easy filtering and searching of employee information based on various parameters. | ||
|
||
Start using our APP **TODAY** by following our quick start guide below. | ||
**Who is this for?** | ||
- Small business owners and remote team managers looking for an efficient way to manage contact details and tasks. | ||
|
||
<!-- * Table of Contents --> | ||
<page-nav-print /> | ||
Start managing your team more effectively with ContactSwift **today** by following the steps in our quick start guide. | ||
|
||
--- | ||
|
||
## Quick start | ||
## Table of Contents | ||
|
||
1. Ensure you have Java `11` or above installed in your Computer. | ||
1. [Quick Start](#quick-start) | ||
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. Good addition to the UG |
||
2. [Features](#features) | ||
3. [Managing Your Employees](#managing-your-employees) | ||
4. [FAQ](#faq) | ||
5. [Known Issues](#known-issues) | ||
6. [Command Summary](#command-summary) | ||
|
||
2. Download the latest `contactswift.jar` from [here](https://github.com/AY2324S2-CS2103T-T17-2/tp/releases/tag/MVP). | ||
--- | ||
|
||
3. Copy the file to the folder you want to use as the _home folder_ for your AddressBook. | ||
## Quick Start | ||
|
||
4. Open a command terminal, `cd` into the folder you put the jar file in, and use the `java -jar contactswift.jar` command to run the application.<br> | ||
A GUI similar to the below should appear in a few seconds. Note how the app contains some sample data.<br> | ||
 | ||
**Begin your ContactSwift journey with these simple steps:** | ||
|
||
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: | ||
1. Ensure Java `11` or above is installed on your computer. [Find out how to check your Java version](https://www.java.com/en/download/help/version_manual.html). | ||
|
||
- `list` : Lists all contacts. | ||
2. Download the latest `contactswift.jar` from our [releases page](https://github.com/AY2324S2-CS2103T-T17-2/tp/releases/tag/v1.3). | ||
|
||
- `add n/John Doe p/98765432 e/[email protected] a/John street, block 123, #01-01 T/A r/Manager` : Adds a contact named `John Doe` to the Address Book. | ||
3. Choose a folder as your _home folder_ for ContactSwift and copy the downloaded file there. | ||
|
||
- `delete 3` : Deletes the 3rd contact shown in the current list. | ||
4. Open a command terminal, navigate (`cd`) to your home folder, and run the application with the command `java -jar contactswift.jar`. You'll see the GUI, preloaded with some sample data, as shown below: | ||
|
||
- `clear` : Deletes all contacts. | ||
 | ||
*Figure 1: The main interface of ContactSwift, showing sample data.* | ||
|
||
- `exit` : Exits the app. | ||
5. To execute commands, type them into the command box and press Enter. For instance, typing **`help`** and pressing Enter will display the help window. Try out these commands: | ||
- `list` – Lists all contacts. | ||
- `add n/John Doe p/98765432 e/[email protected] a/John street, block 123, #01-01 T/A r/Manager` – Adds a contact named `John Doe`. | ||
- `delete 3` – Deletes the 3rd contact in the list. | ||
- `clear` – Removes all contacts. | ||
- `exit` – Closes the app. | ||
|
||
6. Refer to the [Features](#features) below for details of each command. | ||
Refer to the [Features](#features) section for more detailed command descriptions. | ||
|
||
--- | ||
|
||
## Features | ||
|
||
<box type="info" seamless> | ||
|
||
**Notes about the command format:**<br> | ||
**Understanding the command format is crucial for using ContactSwift effectively. Here are some tips:**<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`. | ||
|
||
- Items in square brackets are optional.<br> | ||
e.g `n/NAME [t/TAG]` can be used as `n/John Doe t/friend` or as `n/John Doe`. | ||
e.g. `n/NAME [t/TAG]` can be used as `n/John Doe t/friend` or as `n/John Doe`. | ||
|
||
- 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. | ||
|
@@ -72,17 +81,17 @@ Start using our APP **TODAY** by following our quick start guide below. | |
|
||
### Viewing help : `help` | ||
|
||
Shows a message explaning how to access the help page. | ||
Shows a message explaining how to access the help page. | ||
|
||
 | ||
|
||
Format: `help` | ||
|
||
### Adding an employee: `add` | ||
|
||
Adds a employee to the address book. | ||
Adds an employee to the address book. | ||
|
||
Format: `add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS T/TAG r/ROLE [t/TAG]…` | ||
Format: `add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS r/ROLE T/TEAM [t/TAG]…` | ||
|
||
<box type="tip" seamless> | ||
|
||
|
@@ -98,7 +107,7 @@ Examples: | |
|
||
Adds a task to an employee's task list. | ||
|
||
Format: `addTask uid/<uid> <description>` | ||
Format: `addTask uid/<UID> <description>` | ||
|
||
- Adds a task to the employee with the specified `uid`. | ||
- The `uid` refers to the user ID displayed beside the employee's name. | ||
|
@@ -114,7 +123,7 @@ Examples: | |
|
||
Marks a task as completed in the employee's task list. | ||
|
||
Format: `mark uid/<uid> <taskIndex>` | ||
Format: `mark uid/<UID> <taskIndex>` | ||
|
||
- Marks the task at the specified `taskIndex` as completed for the employee with the specified `uid`. | ||
- The `uid` refers to the user ID displayed beside the employee's name. | ||
|
@@ -130,7 +139,7 @@ Examples: | |
|
||
Unmarks a task as completed in the employee's task list. | ||
|
||
Format: `unmark uid/<uid> <taskIndex>` | ||
Format: `unmark uid/<UID> <taskIndex>` | ||
|
||
- Unmarks the task at the specified `taskIndex` as not completed for the employee with the specified `uid`. | ||
- The `uid` refers to the user ID displayed beside the employee's name. | ||
|
@@ -144,7 +153,7 @@ Examples: | |
|
||
### Delete a task from an employee's task list: `deleteTask` | ||
|
||
Format: `deleteTask uid/<uid> <taskIndex>` | ||
Format: `deleteTask uid/<UID> <taskIndex>` | ||
|
||
- Deletes the task at the specified `taskIndex` from the task list of the employee with the specified `uid`. | ||
- The `uid` refers to the user ID displayed beside the employee's name. | ||
|
@@ -181,7 +190,7 @@ Shows a list of all employees in the address book. | |
|
||
Format: `list` | ||
|
||
### Editing a employee : `edit` | ||
### Editing an employee : `edit` | ||
|
||
Edits an existing employee in the address book. | ||
|
||
|
@@ -190,7 +199,7 @@ Format: `edit INDEX [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] [T/TEAM] [r/ROLE] [ | |
- Edits the employee at the specified `INDEX`. The index refers to the index number shown in the displayed employee list. The index **must be a positive integer** 1, 2, 3, … | ||
- At least one of the optional fields must be provided. | ||
- Existing values will be updated to the input values. | ||
- When editing tags, the existing tags of the employee will be removed i.e adding of tags is not cumulative. | ||
- When editing tags, the existing tags of the employee will be removed i.e. adding of tags is not cumulative. | ||
- You can remove all the employee’s tags by typing `t/` without | ||
specifying any tags after it. | ||
|
||
|
@@ -216,21 +225,22 @@ Examples: | |
- `find alice david` returns `Alice Smith`, `David Williams`<br> | ||
 | ||
|
||
### Deleting a employee : `delete` | ||
### Deleting an employee : `delete` | ||
|
||
Deletes the specified employee from the address book. | ||
|
||
Format: `delete INDEX`/`delete UID`/`delete NAME` | ||
Format: `delete INDEX` or `delete uid/<UID>` or `delete NAME` | ||
|
||
- Deletes the employee at the specified `INDEX`/`UID`/`NAME`. | ||
- The index refers to the index number shown in the displayed employee list. | ||
- The index **must be a positive integer** 1, 2, 3, … | ||
- The index **must be a positive integer** 1, 2, 3, … and must be within the range of the displayed list. | ||
- The UID refers to the user ID displayed beside the employee's name. | ||
- The name must be an exact match, however it is case-insensitive. | ||
|
||
Examples: | ||
|
||
- `list` followed by `delete 2` deletes the 2nd employee in the address book. | ||
- `delete betsy` deletes the the employee with the name `betsy` if there are no duplicates. In the case of duplicates, a list will be provided to prompt for specifics. | ||
- `delete betsy` deletes the employee with the name `betsy` if there are no duplicates. In the case of duplicates, the user will be prompted to delete by uid. | ||
|
||
### Clearing all entries : `clear` | ||
|
||
|
@@ -259,6 +269,8 @@ If your changes to the data file makes its format invalid, AddressBook will disc | |
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. | ||
</box> | ||
|
||
--- | ||
|
||
# Managing your employees | ||
|
||
Great! You have successfully installed ContactSwift and are ready to manage your employees. Let's use all the awesome features that ContactSwift has to offer. | ||
|
@@ -285,8 +297,11 @@ _Details coming soon ..._ | |
|
||
## 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. | ||
**Q1: How do I install Java 11?** | ||
**A1:** Follow the instructions on the [Java 11 download page](https://www.oracle.com/java/technologies/javase-jdk11-downloads.html). | ||
|
||
**Q2: How can I transfer my ContactSwift data to another computer?** | ||
**A2:** Install ContactSwift on the other computer and overwrite the empty data file it creates with the file that contains the data of your previous ContactSwift home folder. | ||
|
||
--- | ||
|
||
|
@@ -298,12 +313,17 @@ _Details coming soon ..._ | |
|
||
## Command summary | ||
|
||
| Action | Format, Examples | | ||
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| **Add** | `add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS T/TEAM r/ROLE [t/TAG]…` <br> e.g., `add n/James Ho p/22224444 e/[email protected] a/123, Clementi Rd, 1234665 T/A r/Cleaner t/friend t/colleague` | | ||
| **Clear** | `clear` | | ||
| **Delete** | `delete INDEX`/`delete UID`/`delete NAME`<br> e.g., `delete 3`, `delete 101`, `delete John` | | ||
| **Edit** | `edit INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [a/ADDRESS] [T/TEAM] [r/ROLE] [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` | | ||
| **Help** | `help` | | ||
| Action | Format, Examples | | ||
|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| **Add** | `add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS T/TEAM r/ROLE [t/TAG]…` <br> e.g., `add n/James Ho p/22224444 e/[email protected] a/123, Clementi Rd, 1234665 T/A r/Cleaner t/friend t/colleague` | | ||
| **Add Task** | `addTask uid/<uid> <description>` <br> e.g., `addTask uid/1 Complete the report by 5pm`, `addTask uid/2 Submit the proposal by 10am` | | ||
| **Clear** | `clear` | | ||
| **Delete** | `delete INDEX`/`delete uid/<UID>`/`delete NAME`<br> e.g., `delete 3`, `delete uid/101`, `delete John Doe` | | ||
| **Delete Task** | `deleteTask uid/<UID> <taskIndex>` <br> e.g., `deleteTask uid/1 3` | | ||
| **Edit** | `edit INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [a/ADDRESS] [T/TEAM] [r/ROLE] [t/TAG]…`<br> e.g.,`edit 2 n/James Lee e/[email protected]` | | ||
| **Filter** | `filter [n/NAME] [t/TAG] [r/ROLE] [T/TEAM]` <br> e.g., `filter t/friend`,`filter r/Manager T/HR`, `filter T/HR t/friend r/Executive` | | ||
| **Find** | `find KEYWORD [MORE_KEYWORDS]`<br> e.g., `find James Jake` | | ||
| **List** | `list` | | ||
| **Help** | `help` | | ||
| **Mark Task** | `mark uid/<uid> <taskIndex>` <br> e.g., `mark uid/1 3` | | ||
| **Unmark Task** | `unmark uid/<uid> <taskIndex>` <br> e.g., `unmark uid/1 2` | |
Binary file not shown.
File renamed without changes
File renamed without changes
Oops, something went wrong.
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.
Good summary of features