forked from nus-cs2103-AY2425S1/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 #346 from itsme-zeix/final-dg-touchup
Minor fixes in UG & DG
- Loading branch information
Showing
9 changed files
with
205 additions
and
103 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -211,6 +211,7 @@ Clients with **NA** status (no follow-up required) have no status label on the U | |
[↑ Return to Table of Contents](#table-of-contents) | ||
|
||
-------------------------------------------------------------------------------------------------------------------- | ||
<div style="page-break-after: always;"></div> | ||
|
||
# 4. Glossary | ||
This section contains a list of terms used in this user guide. Feel free to refer back to this section if you are unsure of what a term means! | ||
|
@@ -263,13 +264,14 @@ Let's take a look at the structure in more detail: | |
| **Flag(s)** | Modifiers that specify what kind of data is being handled. <br/><br/>Flag(s) are typically 1-2 letters followed by a backslash. | `n/`, `e/`, `r/`, `rn/` | | ||
| **Argument(s)** | The values or inputs the command uses, such as client data or specific details. <br><br> This guide may represent it as a placeholder using `<ARGUMENT>`. | `John Doe`, `[email protected]` | | ||
|
||
Here's an example that uses multiple flags and arguments: | ||
Here's a snippet of a command that uses multiple flags and arguments: | ||
``` | ||
add n/ John Doe e/ [email protected] | ||
``` | ||
* **Command:** `add` instructs AgentAssist to add a new entry. | ||
* **Flags:** `n/` and `e/` specify the information type (name and email). | ||
* **Arguments:** `John Doe` and `[email protected]` are the actual values being input for the respective flags. | ||
* **Note:** This command is provided as an example for learning purposes only. Additional mandatory flags are needed to make it fully functional, which will be explained in the sections that follow. | ||
|
||
<div style="page-break-after: always;"></div> | ||
|
||
|
@@ -408,13 +410,17 @@ Some initial commands to try: | |
|
||
The GUI will dynamically update to show the results of your commands, making it easy to see the impact of your actions in real time. | ||
|
||
**Note:** The order of flags is flexible. For instance, edit 1 n/ john p/ 92223333 is equivalent to edit 1 p/ 92223333 n/ john. | ||
|
||
Refer to the [Commands Section](#6-commands) for more comprehensive details of each command. | ||
|
||
> 💡 **Pro Tip:** | ||
> | ||
> Combine commands like `filter` followed by `edit` or `delete` to manage your contacts more effectively. | ||
> - The order of flags within commands is flexible. For instance, `edit 1 n/ john p/ 92223333` is equivalent to `edit 1 p/ 92223333 n/ john`. Use whatever order feels most natural! | ||
> | ||
> - Combine commands like `filter` followed by `edit` or `delete` to manage your contacts more effectively. | ||
> | ||
> For example, use `filter j/ doctor` to display all doctors, then `edit 2 a/ 321 New Address` to update the address for the second listed doctor. | ||
> - For example, use `filter j/ doctor` to display all doctors, then `edit 2 a/ 321 New Address` to update the address for the second listed doctor. | ||
[↑ Return to Table of Contents](#table-of-contents) | ||
|
||
|
@@ -849,11 +855,11 @@ view <INDEX> | |
- The images below show the GUI before and after using `view 1`: | ||
<div style="display: flex; gap: 10px;"> | ||
<figure markdown> | ||
<img src="images/UIBeforeView.png" alt="UI Before View" style="width: 100%;"> | ||
<img src="images/UIBeforeView.png" alt="UI Before View" style="width: 300;"> | ||
<figcaption>Before View</figcaption> | ||
</figure> | ||
<figure markdown> | ||
<img src="images/UIAfterView.png" alt="UI After View" style="width: 100%;"> | ||
<img src="images/UIAfterView.png" alt="UI After View" style="width: 300;"> | ||
<figcaption>After View</figcaption> | ||
</figure> | ||
</div> | ||
|
@@ -892,11 +898,11 @@ close | |
- The images below show the GUI before and after using `close`: | ||
<div style="display: flex; gap: 10px;"> | ||
<figure markdown> | ||
<img src="images/UIAfterView.png" alt="UI Before View" style="width: 100%;"> | ||
<img src="images/UIAfterView.png" alt="UI Before View" style="width: 300;"> | ||
<figcaption>Before Close</figcaption> | ||
</figure> | ||
<figure markdown> | ||
<img src="images/UIAfterClose.png" alt="UI After View" style="width: 100%;"> | ||
<img src="images/UIAfterClose.png" alt="UI After View" style="width: 300;"> | ||
<figcaption>After Close</figcaption> | ||
</figure> | ||
</div> | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@startuml | ||
'https://plantuml.com/activity-diagram-beta | ||
title Edit Activity Diagram (Perform flag values check) | ||
start | ||
if () then ([Values for specified flags are all valid]) | ||
:Check if index is within range of currently displayed list; | ||
if () then ([Index provided is within range]) | ||
:Edit client pertaining to given index; | ||
else ([else]) | ||
:Show error message that the specified index is out of range; | ||
endif | ||
else ([else]) | ||
:Show error message stating | ||
which flags have wrong values; | ||
endif | ||
|
||
stop | ||
|
||
@enduml |
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.