Skip to content

Commit

Permalink
Merge pull request #62 from julia-cp/branch-UserGuideGroup
Browse files Browse the repository at this point in the history
Update UserGuide
  • Loading branch information
bachletuankhai authored Apr 4, 2024
2 parents b3e13cb + 449736e commit dc1c571
Showing 1 changed file with 42 additions and 2 deletions.
44 changes: 42 additions & 2 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ The Hackathon Participant Management Application is designed to help organizers
- [Adding a person](#adding-a-person--add)
- [Listing all persons](#listing-all-persons--list)
- [Editing a person](#editing-a-person--edit)
- [Grouping a person](#grouping-a-person--group)
- [Grouping randomly listed persons](#grouping-randomly-listed-persons--grouprandom)
- [Comment](#commenting-a-person--comment)
- [Viewing comments](#viewing-comments--view)
- [Locating persons by keywords](#locating-persons-by-keywords--find)
Expand Down Expand Up @@ -145,6 +147,42 @@ Cautions / Warnings for Edit:
* Updated information should be different from the original.


### Grouping a person : `group`

Assigns a group to a participant or a staff.

Format: `group <id> [<group number>]`

* You can only randomly assign a person to an existing group.
* The `<id>` refers to the identification number of the contact in the list
* The `<group number>` can be any positive integer
* You can only group staff and participant, sponsor cannot be grouped

Examples:
* `group 1`
* `group 1 3`

Tips for Group:
* Not typing the group number will randomly assign the person into an existing group.

Cautions / Warnings for Group:
* When no group exist you cannot randomly assign a person into a group.


### Grouping randomly listed persons : `grouprandom`

Assigns a random group to each participant and staff that are currently listed.

Format: `grouprandom <maximum group size>`

* The `<maximum group size>` refers to the maximum number of people in a group
* The `<maximum group size>` can be any positive integer
* You can only group staff and participant, sponsor cannot be grouped

Example:
* `grouprandom 3`


### Commenting a person : `comment`
Add notes or comments to contacts
format `comment <id>, <notes>`
Expand Down Expand Up @@ -356,10 +394,12 @@ _Details coming soon ..._

Action | Format, Examples
--------|------------------
**Add** | `add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS c/CATEGORY [t/TAG]…` <br> e.g., `add n/James Ho p/22224444 e/[email protected] a/123, Clementi Rd, 1234665 t/friend c/participant t/colleague`
**Add** | `add n/NAME p/PHONE_NUMBER e/EMAIL c/CATEGORY [g/GROUP_NUMBER]` <br> e.g., `add n/James Ho p/22224444 e/[email protected] c/participant g/3`
**Clear** | `clear`
**Remove** | `delete INDEX`<br> e.g., `delete 3`
**Update** | `edit INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [a/ADDRESS] [t/TAG]…​`<br> e.g.,`edit 2 n/James Lee e/[email protected]`
**Edit** | `edit INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [c/CATEGORY] [g/GROUP_NUMBER]​`<br> e.g.,`edit 2 n/James Lee e/[email protected]`
**Group** | `group INDEX [GROUP_NUMBER]`<br> e.g., `group 1 3`
**Group Randomly** | `grouprandom MAX_GROUP_SIZE`<br> e.g., `grouprandom 3`
**Find** | `find KEYWORD [MORE_KEYWORDS]`<br> e.g., `find James Jake`
**List** | `list`
**Comment** | `comment <name>, <notes>`
Expand Down

0 comments on commit dc1c571

Please sign in to comment.