forked from AY2324S1-CS2103T-W08-1/tp
-
Notifications
You must be signed in to change notification settings - Fork 0
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 AY2324S1-CS2103T-W08-1#114 from ivanleekk/sort-app…
…licants-dg Update DG with SortCommand
- Loading branch information
Showing
22 changed files
with
290 additions
and
132 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
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
## User Interface Guide | ||
|
||
![User Interface Guide Example](./images/userInterfaceGuide.png) | ||
![User Interface Guide Example](images/user-guide/userInterfaceGuide.png) | ||
|
||
|
||
|
||
|
@@ -34,7 +34,7 @@ Opens up your browser to view the help page. | |
Format: `help` | ||
|
||
UI mockup: | ||
![Help UI Mockup](./images/help.png) | ||
![Help UI Mockup](images/user-guide/help.png) | ||
|
||
--- | ||
### `add` : Adding a new applicant | ||
|
@@ -48,7 +48,7 @@ Example: | |
* `add n/Jane Greenwood p/Project Manager e/[email protected] hp/91234567` | ||
|
||
UI mockup: | ||
![Add UI Mockup](./images/add.png) | ||
![Add UI Mockup](images/user-guide/add.png) | ||
|
||
--- | ||
### `edit` : Editing an applicant | ||
|
@@ -65,7 +65,7 @@ Example: | |
* `edit 2 hp/80081234 e/[email protected]` edits the phone number and email of the 2nd applicant in the list. | ||
|
||
UI mockup: | ||
![Edit UI Mockup](./images/edit.png) | ||
![Edit UI Mockup](images/user-guide/edit.png) | ||
|
||
--- | ||
### `list` : Listing all applicants | ||
|
@@ -75,7 +75,7 @@ Displays the full list of all applicants. | |
Format: `list` | ||
|
||
UI mockup: | ||
![List UI Mockup](./images/list.png) | ||
![List UI Mockup](images/user-guide/list.png) | ||
|
||
--- | ||
### `delete` : Deleting an applicant | ||
|
@@ -92,7 +92,7 @@ Examples: | |
* `sort d/name` followed by `delete 3` deletes the 3rd person in the sorted applicant list. | ||
|
||
UI mockup: | ||
![Delete UI Mockup](./images/delete.png) | ||
![Delete UI Mockup](images/user-guide/delete.png) | ||
|
||
--- | ||
### `find` : Finding an applicant by name | ||
|
@@ -111,7 +111,7 @@ Examples: | |
* `find IVAN CHEW` finds any applicant whose name contains “ivan” or contains “chew”. | ||
|
||
UI mockup: | ||
![Find UI Mockup](./images/find.png) | ||
![Find UI Mockup](images/user-guide/find.png) | ||
|
||
--- | ||
### `sort`: Sorting applicants by descriptor | ||
|
@@ -130,7 +130,7 @@ Examples: | |
* `sort d/status` sorts the applicant list by status in alphabetical order. | ||
|
||
UI mockup: | ||
![Sort UI Mockup](./images/sort.png) | ||
![Sort UI Mockup](images/user-guide/sort.png) | ||
|
||
--- | ||
### `addi` : Adding an interview to an applicant | ||
|
@@ -188,7 +188,7 @@ Clears all the current data stored in the system. | |
Format: `clear` | ||
|
||
UI mockup: | ||
![Clear UI Mockup](./images/clear.png) | ||
![Clear UI Mockup](images/user-guide/clear.png) | ||
|
||
--- | ||
### `exit` : Exiting the program | ||
|
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,22 @@ | ||
@startuml | ||
'https://plantuml.com/activity-diagram-beta | ||
|
||
start | ||
:User enters sort command syntax; | ||
:ApplicantBookParser parses command_word; | ||
:SortCommandParser parses arguments; | ||
if (Descriptor is present) then (true) | ||
:Execute SortCommand; | ||
:Update Applicant Descriptor; | ||
:Refresh Applicant List; | ||
:Display success message; | ||
:Show updated list in GUI; | ||
stop | ||
else (false) | ||
:Throw ParseException with | ||
invalid command format | ||
message and proper Sort | ||
syntax; | ||
:Display error message; | ||
stop | ||
@enduml |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
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