Skip to content

Commit dc1c571

Browse files
Merge pull request #62 from julia-cp/branch-UserGuideGroup
Update UserGuide
2 parents b3e13cb + 449736e commit dc1c571

File tree

1 file changed

+42
-2
lines changed

1 file changed

+42
-2
lines changed

docs/UserGuide.md

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ The Hackathon Participant Management Application is designed to help organizers
1010
- [Adding a person](#adding-a-person--add)
1111
- [Listing all persons](#listing-all-persons--list)
1212
- [Editing a person](#editing-a-person--edit)
13+
- [Grouping a person](#grouping-a-person--group)
14+
- [Grouping randomly listed persons](#grouping-randomly-listed-persons--grouprandom)
1315
- [Comment](#commenting-a-person--comment)
1416
- [Viewing comments](#viewing-comments--view)
1517
- [Locating persons by keywords](#locating-persons-by-keywords--find)
@@ -145,6 +147,42 @@ Cautions / Warnings for Edit:
145147
* Updated information should be different from the original.
146148

147149

150+
### Grouping a person : `group`
151+
152+
Assigns a group to a participant or a staff.
153+
154+
Format: `group <id> [<group number>]`
155+
156+
* You can only randomly assign a person to an existing group.
157+
* The `<id>` refers to the identification number of the contact in the list
158+
* The `<group number>` can be any positive integer
159+
* You can only group staff and participant, sponsor cannot be grouped
160+
161+
Examples:
162+
* `group 1`
163+
* `group 1 3`
164+
165+
Tips for Group:
166+
* Not typing the group number will randomly assign the person into an existing group.
167+
168+
Cautions / Warnings for Group:
169+
* When no group exist you cannot randomly assign a person into a group.
170+
171+
172+
### Grouping randomly listed persons : `grouprandom`
173+
174+
Assigns a random group to each participant and staff that are currently listed.
175+
176+
Format: `grouprandom <maximum group size>`
177+
178+
* The `<maximum group size>` refers to the maximum number of people in a group
179+
* The `<maximum group size>` can be any positive integer
180+
* You can only group staff and participant, sponsor cannot be grouped
181+
182+
Example:
183+
* `grouprandom 3`
184+
185+
148186
### Commenting a person : `comment`
149187
Add notes or comments to contacts
150188
format `comment <id>, <notes>`
@@ -356,10 +394,12 @@ _Details coming soon ..._
356394

357395
Action | Format, Examples
358396
--------|------------------
359-
**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`
397+
**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`
360398
**Clear** | `clear`
361399
**Remove** | `delete INDEX`<br> e.g., `delete 3`
362-
**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]`
400+
**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]`
401+
**Group** | `group INDEX [GROUP_NUMBER]`<br> e.g., `group 1 3`
402+
**Group Randomly** | `grouprandom MAX_GROUP_SIZE`<br> e.g., `grouprandom 3`
363403
**Find** | `find KEYWORD [MORE_KEYWORDS]`<br> e.g., `find James Jake`
364404
**List** | `list`
365405
**Comment** | `comment <name>, <notes>`

0 commit comments

Comments
 (0)