forked from nusCS2113-AY1819S2/addressbook-level4
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
239 additions
and
164 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
= Address Book (Level 4) | ||
= VolunCHeer | ||
ifdef::env-github,env-browser[:relfileprefix: docs/] | ||
|
||
|
||
|
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ ifdef::env-github[] | |
:tip-caption: :bulb: | ||
:note-caption: :information_source: | ||
endif::[] | ||
:repoURL: https://github.com/se-edu/addressbook-level4 | ||
:repoURL: https://github.com/cs2113-ay1819s2-t08-1/main | ||
|
||
By: `CS2113T T08-01` Since: `Feb 2019` Licence: `MIT` | ||
|
||
|
@@ -121,55 +121,90 @@ p/98765432 ec/Mary, Mother, 92221111 dp/vegetarian m/asthma` | |
* `addVolunteer n/Sarah Soh y/22 g/female r/chinese rg/buddhist a/betsy ave 6, 02-08 e/[email protected] | ||
p/92345678 ec/Johnny, Husband, 81234568 | ||
|
||
=== Adding a beneficiary: `addBeneficiary` | ||
|
||
// tag::BeneficiaryManagement[] | ||
=== Adding a beneficiary: `addBeneficiary` / `ab` | ||
|
||
Adds a beneficiary to the list of Beneficiaries + | ||
Format: `addBeneficiary n/NAME a/ADDRESS e/EMAIL p/PHONE_NUMBER ` | ||
|
||
**** | ||
* "New beneficiary added: Orphanage Phone: 98765432 Email: [email protected] Address: 311, Clementi Ave 2, | ||
#02-25Attached Project List: []" message is prompted upon successfully adding a beneficiary | ||
**** | ||
|
||
Examples: | ||
|
||
* `addBeneficiary n/Orphanage p/98765432 e/[email protected] a/311, Clementi Ave 2, #02-25` | ||
|
||
Consideration: | ||
.Add Beneficiary Command Result (pink: input, blue: output) | ||
image::AddBeneficiary.png[] | ||
|
||
In the figure above, after the add command, we can observe a new beneficiary card is shown on the GUI. | ||
|
||
**** | ||
* The beneficiary will be used to assign to a project, this means that the project will benefit this beneficiary, | ||
i.e. Orphanage Home, Nursing home, etc. | ||
i.e. Orphanage Home, Nursing home, etc. + | ||
* When add a new beneficiary, the project lists assigned to it will be empty. You can assign projects to it by assign | ||
command stated below. | ||
command stated. | ||
**** | ||
|
||
=== Editing a beneficiary: `editBeneficiary` | ||
=== Editing a beneficiary: `editBeneficiary` / `eb` | ||
|
||
Edits a beneficiary to the list of Beneficiaries + | ||
Format: `editBeneficiary INDEX (must be a positive integer) [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] ` | ||
|
||
**** | ||
* "Edited Beneficiary: Old Folk Home Phone: 91234567 Email: [email protected] Address: 311, Clementi Ave 2, | ||
#02-25Attached Project List: []" message is prompted upon successfully editing a beneficiary | ||
**** | ||
|
||
Examples: | ||
|
||
* `editBeneficiary 1 n/Old Folk Home p/91234567` | ||
|
||
Consideration: | ||
.Edit Beneficiary Command Result (pink: input, blue: output) | ||
image::EditBeneficiary.png[] | ||
|
||
In the figure, we can see that the WHO information including phone number and email haa changed, compared to the last figure. | ||
|
||
**** | ||
* When a beneficiary is edited, the data of the beneficiary in its attached projects is in sync, meaning that that data | ||
is automatically updated in the mentioned projects. | ||
**** | ||
|
||
=== Deleting a beneficiary: `deleteBeneficiary` / `db` | ||
|
||
Deletes a beneficiary in the beneficiary pool. + | ||
Format: `deleteBeneficiary i/INDEX -D` | ||
|
||
[NOTE] | ||
`-D` is optional. | ||
|
||
**** | ||
* There are two modes of deletion: *soft delete mode* and *hard delete mode*. + | ||
* In the *soft delete mode*, there is a safe check to help you avoid deleting beneficiary | ||
that has attached projects, leaving the projects unassigned. | ||
* In the *hard delete mode*, | ||
the beneficiary and all its attached projects will be deleted. + | ||
* Default is *soft delete mode*. To switch to *hard delete mode*, include `-D` in your command. | ||
**** | ||
|
||
Examples: | ||
|
||
* `deleteBeneficiary i/1` *soft delete mode* | ||
* `deleteBeneficiary i/1 -D` *hard delete mode* | ||
|
||
.Delete Beneficiary Command (Soft Delete Mode) Result (pink: input, blue: output) | ||
image::SoftDelete.png[] | ||
|
||
=== Listing all beneficiary: `listBeneficiary` | ||
In Figure 3, we are trying to soft delete a beneficiary which was assigned to project *Run*. Hence, a message appears and informs us | ||
to switch to hard delete mode. | ||
|
||
.Delete Beneficiary Command (Hard Delete Mode) Result (pink: input, blue: output) | ||
image::HardDelete.png[] | ||
|
||
In Figure 4, the beneficiary and its attached project shave been deleted successfully. | ||
|
||
=== Listing all beneficiaries: `listBeneficiary` / `lb` | ||
|
||
Shows a list of all Beneficiaries in the beneficiary pool. + | ||
Format: `listBeneficiary` | ||
|
||
Consideration: | ||
* The command can be used to get back to full list after several commands changing the list. | ||
[TIP] | ||
The command can be used to get back to full list after several commands changing the list. | ||
|
||
=== Locating beneficiaries by name: `findBeneficiary` | ||
=== Locating beneficiaries by name: `findBeneficiary` / `fb` | ||
|
||
Finds beneficiaries whose names contain any of the given keywords. + | ||
Format: `findBeneficiary KEYWORD [MORE_KEYWORDS]` | ||
|
@@ -188,6 +223,20 @@ Examples: | |
* `find Nursing` + | ||
Returns `Nursing Home` and `Nursing Center` | ||
|
||
=== Summarising all beneficiaries: `summariseBeneficiary` / `sb` | ||
|
||
Opens a pop up summary table of beneficiaries. You can use the arrow in header cells *number of Projects* | ||
to sort beneficiaries by the number of attached projects. A table sample is shown below. + | ||
|
||
Format: `summariseBeneficiary` | ||
|
||
.Beneficiary Summary Table | ||
image::SummaryBeneficiary.png[] | ||
|
||
[TIP] | ||
The command can be used to consider future partners or fundraising. | ||
// end::BeneficiaryManagement[] | ||
|
||
=== Listing all projects : `listProject` | ||
|
||
Shows a list of all projects. + | ||
|
@@ -483,6 +532,9 @@ Track attendance of the volunteers and award frequent volunteers with certificat | |
=== Manage funding and sponsorships `[coming in v2.0]` | ||
Manage funds and sponsors for individual projects and track project spending. | ||
|
||
=== Auto-completion of command `[coming in v2.0]` | ||
Quick Auto-completion of command to enhance typing speed | ||
|
||
== FAQ | ||
|
||
*Q*: How do I transfer my data to another Computer? + | ||
|
@@ -496,8 +548,19 @@ e.g. `addProject n/Charity Run d/081219 b/Sunshine Old Folks Home` | |
m/MEDICAL CONDITION [t/TAG]...` + | ||
e.g. `addVolunteer n/John Doe y/18 a/John street, block 123, #01-01 e/[email protected] p/98765432 g/98292998 r/chinese | ||
d/vegetarian m/asthma` | ||
* *AddBeneficiary* `addBeneficiary n/NAME a/ADDRESS e/EMAIL p/PHONE_NUMBER v/VOLUNTEERS_REQUIRED [t/TAG]...` + | ||
e.g. `addBeneficiary n/Sunshine Old Folks Home a/sunshine ave 5 e/[email protected] p/67580392 v/20` | ||
|
||
* *AddBeneficiary* `addBeneficiary n/NAME a/ADDRESS e/EMAIL p/PHONE_NUMBER` + | ||
e.g. `addBeneficiary n/Orphanage p/98765432 e/[email protected] a/311, Clementi Ave 2, #02-25` | ||
* *EditBeneficiary* `editBeneficiary INDEX (must be a positive integer) [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS]` + | ||
e.g. `editBeneficiary 1 n/Old Folk Home p/91234567` | ||
* *DeleteBeneficiary* `deleteBeneficiary i/INDEX -D` | ||
e.g. `deleteBeneficiary i/1 -D` | ||
* *ListBeneficiary* `listBeneficiary` | ||
* *FindBeneficiary* `findBeneficiary KEYWORD` | ||
e.g. `findBeneficiary Old` | ||
* *SummariseBeneficiary* `summariseBeneficiary` | ||
|
||
|
||
* *List* : `list` | ||
* *EditProject* `editProject PROJECT_NAME [n/NAME] [d/DATE] [b/BENEFICIARY] [t/TAG]...` + | ||
e.g. `editProject Charity Run d/010319` | ||
|
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.
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
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
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