Skip to content

Commit 31377ae

Browse files
authored
Merge pull request #32 from ampan98/update-guides
Update guides to be more consistent
2 parents 6c91e20 + 98b498a commit 31377ae

2 files changed

Lines changed: 62 additions & 61 deletions

File tree

docs/DeveloperGuide.md

Lines changed: 32 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -255,17 +255,17 @@ and the required means of communication.
255255
Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unlikely to have) - `*`
256256

257257
| Priority | As a …​ | I want to …​ | So that I can…​ |
258-
| -------- | ------------------------------------------ | ---------------------------------------------------- | ---------------------------------------------------------------------- |
259-
| `* * *` | new user | see usage instructions | refer to instructions when I forget how to use the App |
260-
| `* * *` | user | add a new person | |
261-
| `* * *` | user | delete a person | remove entries that I no longer need |
262-
| `* * *` | user | find a person by name | locate details of persons without having to go through the entire list |
263-
| `* * *` | user | filter contacts by tag | minimize chance of sending emails to the wrong recipient |
264-
| `* * *` | user | specify preferred mode of contact | maximize chance of recipient seeing the information |
265-
| `* * *` | user | blacklist a contact | reduce dissemination of information to people who do not want it |
266-
| `* *` | user | hide private contact details | minimize chance of someone else seeing them by accident |
267-
| `* *` | user with many contacts | assign each contact an additional optional remark | remember contacts more accurately |
268-
| `* *` | user with many contacts | sort contacts by name | locate a contact easily |
258+
| -------- | ------------------------------------------ | ---------------------------------------------------- | ----------------------------------------------------------------------- |
259+
| `* * *` | new user | see usage instructions | refer to instructions when I forget how to use the App |
260+
| `* * *` | user | add a new contact | |
261+
| `* * *` | user | delete a contact | remove entries that I no longer need |
262+
| `* * *` | user | find a contact by name | locate details of contacts without having to go through the entire list |
263+
| `* * *` | user | filter contacts by tag | minimize chance of sending emails to the wrong recipient |
264+
| `* * *` | user | specify preferred mode of contact | maximize chance of recipient seeing the information |
265+
| `* * *` | user | blacklist a contact | reduce dissemination of information to people who do not want it |
266+
| `* *` | user | hide private contact details | minimize chance of someone else seeing them by accident |
267+
| `* *` | user with many contacts | assign each contact an additional optional remark | remember contacts more accurately |
268+
| `* *` | user with many contacts | sort contacts by name | locate a contact easily |
269269

270270
*{More to be added}*
271271

@@ -277,10 +277,10 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli
277277

278278
**MSS**
279279

280-
1. User requests to list persons
281-
2. AddressBook shows a list of persons
282-
3. User requests to delete a specific person in the list
283-
4. AddressBook deletes the person
280+
1. User requests to list contacts
281+
2. SpamEZ shows a list of contacts
282+
3. User requests to delete a specific contact in the list
283+
4. SpamEZ deletes the contact
284284

285285
Use case ends.
286286

@@ -292,7 +292,7 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli
292292

293293
* 3a. The given index is invalid.
294294

295-
* 3a1. AddressBook shows an error message.
295+
* 3a1. SpamEZ shows an error message.
296296

297297
Use case resumes at step 2.
298298

@@ -320,19 +320,18 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli
320320

321321
**MSS**
322322

323-
1. User requests to list persons
324-
2. AddressBook shows a list of persons
325-
3. User request to add a specific person with a preferred mode of contact
326-
4. AddressBook adds the person
323+
1. User requests to list contacts
324+
2. SpamEZ shows a list of contacts
325+
3. User requests to edit the preferred mode of contact for a contact
326+
4. SpamEZ edits the contact
327327

328328
Use case ends.
329329

330330
**Extensions**
331331

332332
* 2a. The list is empty.
333333

334-
Use case ends.
335-
334+
Use case ends.
336335

337336
**Use case: Blacklist a contact**
338337

@@ -363,24 +362,24 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli
363362
**MSS**
364363

365364
1. User requests to list contacts.
366-
2. AddressBook shows a list of contacts.
365+
2. SpamEZ shows a list of contacts.
367366
3. User requests to add an optional remark to a specific contact in the list.
368-
4. Addressbook adds the optional remark to the specific contact.
369-
5. Addressbook shows the updated list of contacts.
367+
4. SpamEZ adds the optional remark to the specific contact.
368+
5. SpamEZ shows the updated list of contacts.
370369

371370
Use case ends.
372371

373372
**Extensions**
374373

375374
* 3a. The given index is invalid.
376375

377-
* 3a1. Addressbook shows an error message.
376+
* 3a1. SpamEZ shows an error message.
378377

379378
Use case resumes at step 3.
380379

381380
* 3b. The user enters details in the wrong format.
382381

383-
* 3b1. Addressbook shows an error message and the corect format.
382+
* 3b1. SpamEZ shows an error message and the correct format.
384383

385384
Use case resumes at step 3.
386385

@@ -389,8 +388,8 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli
389388
**MSS**
390389

391390
1. User requests to sort the contact list by name in alphabetical order.
392-
2. AddressBook sorts the contact list.
393-
3. AddressBook displays the updated contact list.
391+
2. SpamEZ sorts the contact list.
392+
3. SpamEZ displays the updated contact list.
394393

395394
Use case ends.
396395

@@ -438,17 +437,17 @@ testers are expected to do more *exploratory* testing.
438437

439438
1. _{ more test cases …​ }_
440439

441-
### Deleting a person
440+
### Deleting a contact
442441

443-
1. Deleting a person while all persons are being shown
442+
1. Deleting a contact while all contacts are being shown
444443

445444
1. Prerequisites: List all persons using the `list` command. Multiple persons in the list.
446445

447446
1. Test case: `delete 1`<br>
448447
Expected: First contact is deleted from the list. Details of the deleted contact shown in the status message. Timestamp in the status bar is updated.
449448

450449
1. Test case: `delete 0`<br>
451-
Expected: No person is deleted. Error details shown in the status message. Status bar remains the same.
450+
Expected: No contact is deleted. Error details shown in the status message. Status bar remains the same.
452451

453452
1. Other incorrect delete commands to try: `delete`, `delete x`, `...` (where x is larger than the list size)<br>
454453
Expected: Similar to previous.
@@ -467,7 +466,7 @@ testers are expected to do more *exploratory* testing.
467466

468467
1. Filter the list of contacts based on the keywords provided.
469468

470-
1. Prerequisites: List all persons using the `list` command. Multiple persons in the list.
469+
1. Prerequisites: List all contacts using the `list` command. Multiple contacts in the list.
471470

472471
1. Test case: `find n/Alex Bernice` <br>
473472
Expected: A list of contacts whose name contains `Alex` **or** `Bernice`. The filter is case-insensitive, so `Alex` will match with `aLeX` too, for instance.

docs/UserGuide.md

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ layout: page
33
title: User Guide
44
---
55

6-
AddressBook Level 3 (AB3) is a **desktop app for managing contacts, optimized for use via a Command Line Interface** (CLI) while still having the benefits of a Graphical User Interface (GUI). If you can type fast, AB3 can get your contact management tasks done faster than traditional GUI apps.
6+
SpamEZ is a **desktop app for managing contacts, optimized for use via a Command Line Interface** (CLI) while still having the benefits of a Graphical User Interface (GUI).
7+
If you can type fast, SpamEZ can get your contact management tasks done faster than traditional GUI apps.
78

89
* Table of Contents
910
{:toc}
@@ -14,9 +15,9 @@ AddressBook Level 3 (AB3) is a **desktop app for managing contacts, optimized fo
1415

1516
1. Ensure you have Java `11` or above installed in your Computer.
1617

17-
1. Download the latest `addressbook.jar` from [here](https://github.com/AY2021S2-CS2103-T16-1/tp/releases).
18+
1. Download the latest `spamez.jar` from [here](https://github.com/AY2021S2-CS2103-T16-1/tp/releases).
1819

19-
1. Copy the file to the folder you want to use as the _home folder_ for your AddressBook.
20+
1. Copy the file to the folder you want to use as the _home folder_ for SpamEZ.
2021

2122
1. Double-click the file to start the app. The GUI similar to the below should appear in a few seconds. Note how the app contains some sample data.<br>
2223
![Ui](images/Ui.png)
@@ -26,11 +27,11 @@ AddressBook Level 3 (AB3) is a **desktop app for managing contacts, optimized fo
2627

2728
* **`list`** : Lists all contacts.
2829

29-
* **`add`**`n/John Doe p/98765432 e/johnd@example.com a/John street, block 123, #01-01` : Adds a contact named `John Doe` to the Address Book.
30+
* **`add`**`n/John Doe p/98765432 e/johnd@example.com a/John street, block 123, #01-01` : Adds a contact named `John Doe` to the contacts list.
3031

3132
* **`delete`**`3` : Deletes the 3rd contact shown in the current list.
3233

33-
* **`tag`**`tag n/John Doe t/small` : Adds tag to contact John Doe in Address Book.
34+
* **`tag`**`tag n/John Doe t/small` : Adds tag to contact John Doe.
3435

3536
* **`clear`** : Deletes all contacts.
3637

@@ -83,7 +84,7 @@ Format: `help`
8384

8485
### Adding a person: `add`
8586

86-
Adds a person to the address book.
87+
Adds a person to the contacts list.
8788

8889
Format: `add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]…​`
8990

@@ -97,13 +98,13 @@ Examples:
9798

9899
### Listing all persons : `list`
99100

100-
Shows a list of all persons in the address book.
101+
Shows a list of all contacts.
101102

102103
Format: `list`
103104

104105
### Editing a person : `edit`
105106

106-
Edits an existing person in the address book.
107+
Edits an existing person in the contacts list.
107108

108109
Format: `edit INDEX [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] [t/TAG]…​`
109110

@@ -140,7 +141,7 @@ Examples:
140141

141142
### Deleting a person : `delete`
142143

143-
Deletes the specified person from the address book.
144+
Deletes the specified person from the contacts list.
144145

145146
Format: `delete INDEX`
146147

@@ -149,45 +150,47 @@ Format: `delete INDEX`
149150
* The index **must be a positive integer** 1, 2, 3, …​
150151

151152
Examples:
152-
* `list` followed by `delete 2` deletes the 2nd person in the address book.
153+
* `list` followed by `delete 2` deletes the 2nd person in the contacts list.
153154
* `find Betsy` followed by `delete 1` deletes the 1st person in the results of the `find` command.
154155

155-
### Adding tags to contacts : `tag`
156+
### Adding tags to a contact : `tag`
156157

157158
Labels a contact based on his or her attributes.
158159

159160
Format: tag n/NAME t/TAG
160161

161-
### Assign additional nicknames to contacts : `name`
162+
### Assign an additional nickname to a contact : `name`
162163

163164
Adds an optional nickname to the contact.
164165

165166
Format: name INDEX [n/NAME]
166167

167-
### Blacklist contacts : `blist`
168+
### Blacklist a contact : `blist`
168169

169170
Blocks specific contacts, to specify that they do not want to be contacted.
170171
If the contact is already blacklisted, they will be un-blacklisted.
171172

172173
Format: blist INDEX
173174

175+
* Changes the blacklist status of the person at the specified `INDEX`.
176+
* The index refers to the index number shown in the displayed person list.
177+
* The index **must be a positive integer** 1, 2, 3, …​
178+
174179
### Filter contacts: `filter`
175180

176181
Filters shown contacts based on the given keyword(s).
177182

178183
Format: filter [keyword1, keyword2, …]
179184

180-
181-
182185
### Clearing all entries : `clear`
183186

184-
Clears all entries from the address book.
187+
Clears all entries from the contacts list.
185188

186189
Format: `clear`
187190

188191
### Adding a new remark or replacing an existing remark : `remark`
189192

190-
Adds a new remark to the specified person from the address book.
193+
Adds a new remark to the specified person in the contacts list.
191194
If the person already has a remark, the new remark will replace the
192195
existing remark.
193196

@@ -197,14 +200,13 @@ Format: `remark INDEX r/REMARK`
197200
* The index refers to the index number shown in the displayed person list.
198201
* The index **must be a positive integer** 1, 2, 3, …​
199202

200-
201203
Example:
202204

203205
`remark 3 r/Currently on Stay Home Notice`
204206

205207
### Sort entries by name : `sort`
206208

207-
Sort the entries in the address book by name in ascending alphabetical order.
209+
Sort the entries in the contacts list by name in ascending alphabetical order.
208210

209211
Format: `sort`
210212

@@ -216,14 +218,14 @@ Format: `exit`
216218

217219
### Saving the data
218220

219-
AddressBook data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually.
221+
SpamEZ data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually.
220222

221223
### Editing the data file
222224

223-
AddressBook data are saved as a JSON file `[JAR file location]/data/addressbook.json`. Advanced users are welcome to update data directly by editing that data file.
225+
SpamEZ data are saved as a JSON file `[JAR file location]/data/addressbook.json`. Advanced users are welcome to update data directly by editing that data file.
224226

225227
<div markdown="span" class="alert alert-warning">:exclamation: **Caution:**
226-
If your changes to the data file makes its format invalid, AddressBook will discard all data and start with an empty data file at the next run.
228+
If your changes to the data file makes its format invalid, SpamEZ will discard all data and start with an empty data file at the next run.
227229
</div>
228230

229231
### Archiving data files `[coming in v2.0]`
@@ -235,7 +237,7 @@ _Details coming soon ..._
235237
## FAQ
236238

237239
**Q**: How do I transfer my data to another Computer?<br>
238-
**A**: Install the app in the other computer and overwrite the empty data file it creates with the file that contains the data of your previous AddressBook home folder.
240+
**A**: Install the app in the other computer and overwrite the empty data file it creates with the file that contains the data of your previous SpamEZ home folder.
239241

240242
--------------------------------------------------------------------------------------------------------------------
241243

@@ -244,14 +246,14 @@ _Details coming soon ..._
244246
Action | Format, Examples
245247
--------|------------------
246248
**Add** | `add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]…​` <br> e.g., `add n/James Ho p/22224444 e/jamesho@example.com a/123, Clementi Rd, 1234665 t/friend t/colleague`
249+
**Blacklist** | `blist INDEX`<br> e.g., `blist 2`
247250
**Clear** | `clear`
248251
**Delete** | `delete INDEX`<br> e.g., `delete 3`
249252
**Edit** | `edit INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [a/ADDRESS] [t/TAG]…​`<br> e.g.,`edit 2 n/James Lee e/jameslee@example.com`
253+
**Filter** | `filter [keyword1,keyword2,...]`<br> e.g., `filter[Computing, Student]`
250254
**Find** | `find [n/NAME_KEYWORDS] [t/TAG_KEYWORDS]`<br> e.g., `find n/James Jake t/classmates`
251-
**Tag** | `tag n/NAME t/TAG`<br> e.g., `tag n/Jane Bo t/Student`
252-
**Name** | `name INDEX [n/NAME]`<br> e.g., `name 3 [n/Jo]`
253-
**Blacklist** | `blist INDEX`<br> e.g., `blist 2`
254-
**Filter** | `filter [keyword1,keyword2,...]`<br> e.g., `filter[Computing, Student]`
255-
**List** | `list`
256255
**Help** | `help`
256+
**List** | `list`
257+
**Name** | `name INDEX [n/NAME]`<br> e.g., `name 3 [n/Jo]`
257258
**Remark** | `remark INDEX r/REMARK`<br> e.g., `remark 5 r/Currently on Leave of Absence`
259+
**Tag** | `tag n/NAME t/TAG`<br> e.g., `tag n/Jane Bo t/Student`

0 commit comments

Comments
 (0)