diff --git a/data/addressbook.json b/data/addressbook.json index 251e50832e9..76613123fdf 100644 --- a/data/addressbook.json +++ b/data/addressbook.json @@ -1,56 +1,188 @@ { "persons" : [ { - "name" : "Tom", + "name" : "Alex Yeoh", + "phone" : "99999999", + "email" : "alexyeoh@example.com", + "address" : "Blk 30 Geylang Street 29, #06-40", + "tags" : [ "operations" ], + "eventTags" : [ { + "tagName" : "Flag", + "description" : "Flag event", + "startDate" : "2024-04-10T18:00:00", + "endDate" : "2024-04-10T22:00:00" + } ] + }, { + "name" : "Bernice Yu", + "phone" : "99272758", + "email" : "berniceyu@example.com", + "address" : "Blk 30 Lorong 3 Serangoon Gardens, #07-18", + "tags" : [ "marketing" ], + "eventTags" : [ { + "tagName" : "Flag", + "description" : "Flag event", + "startDate" : "2024-04-10T18:00:00", + "endDate" : "2024-04-10T22:00:00" + } ] + }, { + "name" : "Charlotte Oliveiro", + "phone" : "93210283", + "email" : "charlotte@example.com", + "address" : "Blk 11 Ang Mo Kio Street 74, #11-04", + "tags" : [ "logistics" ], + "eventTags" : [ { + "tagName" : "Rag", + "description" : "Rag event", + "startDate" : "2024-04-05T14:00:00", + "endDate" : "2024-04-05T16:00:00" + } ] + }, { + "name" : "David Li", + "phone" : "91031282", + "email" : "lidavid@example.com", + "address" : "Blk 436 Serangoon Gardens Street 26, #16-43", + "tags" : [ "publicity" ], + "eventTags" : [ { + "tagName" : "Rag", + "description" : "Rag event", + "startDate" : "2024-04-05T14:00:00", + "endDate" : "2024-04-05T16:00:00" + } ] + }, { + "name" : "Irfan Ibrahim", + "phone" : "92492021", + "email" : "irfan@example.com", + "address" : "Blk 47 Tampines Street 20, #17-35", + "tags" : [ "publicity" ], + "eventTags" : [ { + "tagName" : "Rag", + "description" : "Rag event", + "startDate" : "2024-04-05T14:00:00", + "endDate" : "2024-04-05T16:00:00" + } ] + }, { + "name" : "Roy Balakrishnan", + "phone" : "92624417", + "email" : "royb@example.com", + "address" : "Blk 45 Aljunied Street 85, #11-31", + "tags" : [ "VPD" ], + "eventTags" : [ { + "tagName" : "Rag", + "description" : "Rag event", + "startDate" : "2024-04-05T14:00:00", + "endDate" : "2024-04-05T16:00:00" + } ] + }, { + "name" : "Tom Goh", "phone" : "91234812", "email" : "hi@mail.com", - "address" : "NUS", - "tags" : [ "interesting" ], + "address" : "Blk 98 Telok Blangah Street 85, #11-09", + "tags" : [ "secretary" ], "eventTags" : [ { - "tagName" : "orientation", - "description" : "Orientation!", - "startDate" : "2024-04-04T02:02:02", - "endDate" : "2024-04-05T02:02:02" - }, { - "tagName" : "camping", - "description" : "CAMP!!", - "startDate" : "2024-04-04T02:02:02", - "endDate" : "2024-04-05T02:02:02" + "tagName" : "Flag", + "description" : "Flag event", + "startDate" : "2024-04-10T18:00:00", + "endDate" : "2024-04-10T22:00:00" } ] }, { - "name" : "John", + "name" : "John Tan", "phone" : "91232345", "email" : "john@john.com", - "address" : "NTU", - "tags" : [ ], + "address" : "Blk 1 Hougang Street 3, #07-18", + "tags" : [ "operations" ], "eventTags" : [ { - "tagName" : "orientation", - "description" : "Orientation!", - "startDate" : "2024-04-04T02:02:02", - "endDate" : "2024-04-05T02:02:02" + "tagName" : "Flag", + "description" : "Flag event", + "startDate" : "2024-04-10T18:00:00", + "endDate" : "2024-04-10T22:00:00" } ] }, { - "name" : "Ben", + "name" : "Ben Tan", "phone" : "83478596", "email" : "ben@mail.com", "address" : "NA", - "tags" : [ "friendly" ], + "tags" : [ "operations" ], "eventTags" : [ { - "tagName" : "camping", - "description" : "CAMP!!", - "startDate" : "2024-04-04T02:02:02", - "endDate" : "2024-04-05T02:02:02" + "tagName" : "Flag", + "description" : "Flag event", + "startDate" : "2024-04-10T18:00:00", + "endDate" : "2024-04-10T22:00:00" + } ] + }, { + "name" : "Ann Lee", + "phone" : "82882919", + "email" : "Ann@mail.com", + "address" : "NA", + "tags" : [ "head", "publicity" ], + "eventTags" : [ { + "tagName" : "Flag", + "description" : "Flag event", + "startDate" : "2024-04-10T18:00:00", + "endDate" : "2024-04-10T22:00:00" + } ] + }, { + "name" : "Amy Lim", + "phone" : "82882919", + "email" : "Amy@mail.com", + "address" : "AMK Blk 91", + "tags" : [ "head", "operations" ], + "eventTags" : [ { + "tagName" : "Flag", + "description" : "Flag event", + "startDate" : "2024-04-10T18:00:00", + "endDate" : "2024-04-10T22:00:00" + } ] + }, { + "name" : "Betty Ho", + "phone" : "93882919", + "email" : "Betty@mail.com", + "address" : "AMK Blk 10", + "tags" : [ "logistics" ], + "eventTags" : [ { + "tagName" : "Flag", + "description" : "Flag event", + "startDate" : "2024-04-10T18:00:00", + "endDate" : "2024-04-10T22:00:00" + } ] + }, { + "name" : "Zack Goh", + "phone" : "82820119", + "email" : "zack@mail.com", + "address" : "AMK Blk 10", + "tags" : [ "logistics" ], + "eventTags" : [ { + "tagName" : "Flag", + "description" : "Flag event", + "startDate" : "2024-04-10T18:00:00", + "endDate" : "2024-04-10T22:00:00" + } ] + }, { + "name" : "Xan", + "phone" : "82882919", + "email" : "xan@mail.com", + "address" : "Bishan Blk 10", + "tags" : [ "logistics", "VPD" ], + "eventTags" : [ { + "tagName" : "Rag", + "description" : "Rag event", + "startDate" : "2024-04-05T14:00:00", + "endDate" : "2024-04-05T16:00:00" + }, { + "tagName" : "Flag", + "description" : "Flag event", + "startDate" : "2024-04-10T18:00:00", + "endDate" : "2024-04-10T22:00:00" } ] } ], - "tagList" : [ "notcool", "fine", "friendly", "interesting" ], + "tagList" : [ "head", "marketing", "secretary", "operations", "logistics", "neighbours", "VPD", "publicity" ], "eventTagList" : [ { - "tagName" : "orientation", - "description" : "Orientation!", - "startDate" : "2024-04-04T02:02:02", - "endDate" : "2024-04-05T02:02:02" - }, { - "tagName" : "camping", - "description" : "CAMP!!", - "startDate" : "2024-04-04T02:02:02", - "endDate" : "2024-04-05T02:02:02" + "tagName" : "Flag", + "description" : "Flag event", + "startDate" : "2024-04-10T18:00:00", + "endDate" : "2024-04-10T22:00:00" + }, { + "tagName" : "Rag", + "description" : "Rag event", + "startDate" : "2024-04-05T14:00:00", + "endDate" : "2024-04-05T16:00:00" } ] } diff --git a/docs/UserGuide.md b/docs/UserGuide.md index 3796f330fac..e9926adc768 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -14,7 +14,7 @@ Thank you for downloading EventBook as your project management software of choic Choose a topic from the table of contents below / or in the sidebar to find answers, or step-by-step guides on how to use EventBook. - + -------------------------------------------------------------------------------------------------------------------- ## Product Overview @@ -104,9 +104,40 @@ This detailed overview enables users to quickly access essential contact informa **Note:**
The default tab on entering the app is the `All` tab, with all contacts in EventBook displayed in the Result Panel. + + + +## Try Out Your First Commands! +Ready to dive in? Let's try out a few commands to get you started with EventBook: +1. Open EventBook if you haven't already done so by following the steps outlined in the [Quick Start](#quick-start) section. +2. First, let's start with **adding a new contact**. In the command box, type the following command:
+``` +add n/Xavier Tan p/98765432 e/xavt@example.com a/Ang Mo Kio street 2, Block 123, #01-01 +``` +* This command will add a new contact named "Xavier Tan" with the provided phone number, email address, and address details. +* Scroll to the bottom of the list of contacts, you will find that Xavier Tan has been successfully added to your contacts! +3. Now, let's **tag** Xavier as the vice-project director `VPD` of the `Flag` event. Enter the following command in the command box: +``` +assign Xavier Tan t/VPD t/E-Flag +``` +* You will see Xavier has been assigned two new tags: a blue `VPD` tag and a purple `Flag` event tag. +4. Next, let's try **switching to the Flag event tab** to view its members. In the command box, type the following command:
+``` +switch Flag +``` +* Notice that the highlighted tab on the left switches from the `All` tab to the `Flag` tab, and all listed contacts have the `Flag` event tag. +5. To **switch back to the `All` tab** to view all your contacts, enter the following command: +``` +list +``` +6. Experiment with other basic commands that we have listed in the [Quick Start](#quick-start) section the to get a feel for how EventBook works!
+ +Now that you are all warmed up, let's delve deeper into the details of each command and how you can use them to supercharge your event management in the next section! + +-------------------------------------------------------------------------------------------------------------------- ## Command Format -**Things to take note of before you write your first command:**
+**Things to take note of before about the format of commands:**
* Words in `UPPER_CASE` are the parameters to be supplied by the user.
e.g. in `add n/NAME`, `NAME` is a parameter which can be used as `add n/John Doe`. @@ -130,9 +161,7 @@ If you are using a PDF version of this document, be careful when copying and pas --------------------------------------------------------------------------------------------------------------------- - -## Features +## Commands ### Viewing help : `help` @@ -360,6 +389,7 @@ EventBook data are saved in the hard disk automatically after any command that c EventBook data are saved automatically as a JSON file `[JAR file location]/data/addressbook.json`. Advanced users are welcome to update data directly by editing that data file. + **Caution:** If your changes to the data file makes its format invalid, EventBook will discard all data and start with an empty data file at the next run. Hence, it is recommended to take a backup of the file before editing it.
Furthermore, certain edits can cause the EventBook to behave in unexpected ways (e.g., if a value entered is outside the acceptable range). Therefore, edit the data file only if you are confident that you can update it correctly.