Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Branch a java doc #298

Open
wants to merge 58 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
3ab4eb7
Level-0
arsdorintbp2003 Jan 30, 2023
147f543
Level-0 Done! Add Greet + Rename Project
arsdorintbp2003 Jan 30, 2023
9e3786f
Level 0 Done. Add greet + Rename Project
arsdorintbp2003 Jan 30, 2023
f035cec
Finish Level-1 (Add Greet, Echo, Exit)
arsdorintbp2003 Jan 30, 2023
2d5e5be
Level-1 (Add Greet, Echo, Exit)
arsdorintbp2003 Jan 30, 2023
d335a83
Merge branch 'master' of https://github.com/arsdorintbp2003/ip
arsdorintbp2003 Jan 30, 2023
1eb0479
Level-2 finished (Add, list)
arsdorintbp2003 Jan 30, 2023
568f230
Level-2 (Create Task class)
arsdorintbp2003 Jan 30, 2023
6e6cd12
Level-2 finished (Add, List)
arsdorintbp2003 Jan 30, 2023
ece3887
Level-3 finished (Mark As Done)
arsdorintbp2003 Jan 30, 2023
0fde380
Level-3 finished (Mark As Done)
arsdorintbp2003 Feb 2, 2023
060cf8a
Merge branch 'master' of https://github.com/arsdorintbp2003/ip
arsdorintbp2003 Feb 2, 2023
1d18275
level4
arsdorintbp2003 Feb 2, 2023
a4ea47e
Level-4 finished (ToDos, Events, Deadlines)
arsdorintbp2003 Feb 2, 2023
182d686
A-TextUI-Testing finished
arsdorintbp2003 Feb 8, 2023
23c669d
A-CodingStandard
arsdorintbp2003 Feb 8, 2023
faad0ae
Level-5 Completed (Handle Errors) - A-Exceptions
arsdorintbp2003 Feb 15, 2023
f9f840c
Merge branch 'branch-Level-5'
arsdorintbp2003 Feb 15, 2023
beafb97
Merge branch 'branch-Level-5' into branch-A-Packages
arsdorintbp2003 Feb 15, 2023
0f5ea94
A-Packages Completed
arsdorintbp2003 Feb 15, 2023
513cce1
Merge branch 'branch-A-Packages'
arsdorintbp2003 Feb 15, 2023
917d80a
Added ArrayList<Task> toDoList instead of Task[]
arsdorintbp2003 Feb 16, 2023
5517944
Level-6 Completed (Added delete), fix minor bugs in Task.java ([} to [])
arsdorintbp2003 Feb 16, 2023
94c5f10
Merge remote-tracking branch 'origin/branch-Level_6'
arsdorintbp2003 Feb 16, 2023
54e2d79
Level-7 Completed
arsdorintbp2003 Feb 16, 2023
8474707
Level-7 Completed
arsdorintbp2003 Feb 16, 2023
fd99e17
Update & Refactor Code Before "More OOP"
arsdorintbp2003 Mar 1, 2023
0d19e7f
Numerous Refactor To facilitate MoreOOP
arsdorintbp2003 Mar 1, 2023
5ae3f2e
More OOP finished
arsdorintbp2003 Mar 3, 2023
df7486e
Update arsdorintTask.txt
arsdorintbp2003 Mar 3, 2023
3f72533
Update arsdorintTask.txt
arsdorintbp2003 Mar 3, 2023
f6206cd
Merge branch 'branch-A-MoreOOP'
arsdorintbp2003 Mar 3, 2023
5659184
Level-8 finished
arsdorintbp2003 Mar 3, 2023
bf5ae96
Update arsdorintTask.txt
arsdorintbp2003 Mar 3, 2023
457443a
Merge branch 'branch-Level-8'
arsdorintbp2003 Mar 3, 2023
2f9a1f4
Level-9 completed (Added find)
arsdorintbp2003 Mar 3, 2023
763996e
Update arsdorintTask.txt
arsdorintbp2003 Mar 3, 2023
987af0d
Merge branch 'branch-Level-9'
arsdorintbp2003 Mar 3, 2023
44c9c3e
Javadoc Added
arsdorintbp2003 Mar 3, 2023
3693dbf
Update arsdorintTask.txt
arsdorintbp2003 Mar 3, 2023
7ae60d9
Create arsdorintTask.txt
arsdorintbp2003 Mar 3, 2023
5fc40b6
Merge branch 'master' into branch-A-JavaDoc
arsdorintbp2003 Mar 3, 2023
8562de4
Update README.md
arsdorintbp2003 Mar 3, 2023
f3914b7
Update README.md
arsdorintbp2003 Mar 3, 2023
1b2c2de
Finish User Guide
arsdorintbp2003 Mar 3, 2023
3f0acf2
Update README.md
arsdorintbp2003 Mar 3, 2023
9d8c00e
Update README.md
arsdorintbp2003 Mar 3, 2023
9830b67
Update arsdorintTask.txt
arsdorintbp2003 Mar 3, 2023
cba117a
Update arsdorintTask.txt
arsdorintbp2003 Mar 3, 2023
7f55fed
Update README.md
arsdorintbp2003 Mar 6, 2023
fc60d21
Update README.md
arsdorintbp2003 Mar 6, 2023
b847108
Update README.md
arsdorintbp2003 Mar 7, 2023
b79e3ef
Fix Error (Need to do more)
arsdorintbp2003 Mar 20, 2023
76fccc7
Final Ver
arsdorintbp2003 Mar 20, 2023
6c089cd
Final Ver
arsdorintbp2003 Mar 20, 2023
e7d6188
update javadoc
arsdorintbp2003 Mar 20, 2023
f2f5980
Merge branch 'master' into branch-A-JavaDoc
arsdorintbp2003 Mar 20, 2023
26a4df1
Final Ver
arsdorintbp2003 Mar 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
160 changes: 143 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,150 @@
# Duke project template
# Arsdorint chatbot

This is a project template for a greenfield Java project. It's named after the Java mascot _Duke_. Given below are instructions on how to use it.
This is Arsdorint chatbot, a member of Arsdorint Team, and an adaptation application of CS2113 Project Duke)

## Setting up in Intellij
## User Guide

Prerequisites: JDK 11, update Intellij to the most recent version.
1. To download the application, click on this link.
2. The chatbot contains the following feature
+ List
+ Todo
+ Deadline
+ Event
+ Mark
+ Unmark
+ Date
+ Find
+ Bye

1. Open Intellij (if you are not in the welcome screen, click `File` > `Close Project` to close the existing project first)
1. Open the project into Intellij as follows:
1. Click `Open`.
1. Select the project directory, and click `OK`.
1. If there are any further prompts, accept the defaults.
1. Configure the project to use **JDK 11** (not other versions) as explained in [here](https://www.jetbrains.com/help/idea/sdk.html#set-up-jdk).<br>
In the same dialog, set the **Project language level** field to the `SDK default` option.
3. After that, locate the `src/main/java/Duke.java` file, right-click it, and choose `Run Duke.main()` (if the code editor is showing compile errors, try restarting the IDE). If the setup is correct, you should see something like the below as the output:
## Feature - List
- This function will list all the tasks inputed by the user.
- Example:
>>> list
Here are the tasks in your list:

____________________________________________________________
____________________________LIST____________________________
1.[T][ ] midterm
Now you have 1 task in the list.
____________________________________________________________


## Feature - Todo
- This function will add a task that the user want to do, with a tickbox to mark if the task is done yet or not.
- Example:
>>> todo midterm
____________________________________________________________

Got it. I've added this task:

[T][ ] midterm
Now you have 1 task in the list.
____________________________________________________________


## Feature - Deadline
- This function will add a deadline that the user need to complete, with a tickbox to mark if the deadline is finished or not.
- Example:
>>> deadline midterm /by tommorrow
____________________________________________________________

Got it. I've added this task:

[D][ ] midterm (by tommorrow)
Now you have 2 tasks in the list.
____________________________________________________________

or
>>> deadline midterm /2023-03-04
____________________________________________________________

Got it. I've added this task:

[D][ ] midterm (4 Mar 2023)
Now you have 4 tasks in the list.
____________________________________________________________

## Feature - Event
- This function will add an event that the user need to attend, with a tickbox to mark if the user have attended or not.
- Example:
>>> event Open House /on Sunday
____________________________________________________________

Got it. I've added this task:

[E][ ] Open House (on Sunday)
Now you have 5 tasks in the list.
____________________________________________________________

or
>>> event NUS football match /2023-03-05
____________________________________________________________

Got it. I've added this task:

[E][ ] NUS football match (5 Mar 2023)
Now you have 6 tasks in the list.
____________________________________________________________

## Feature - Mark
- This function will mark a task as done by tick a "X" into the tickbox.
- Example:
>>> mark 2
____________________________________________________________

Got it. I've marked this task as done:

[D][X] midterm (by tommorrow)
Now you have 5 unmarked tasks in the list.
____________________________________________________________

## Feature - Unmark
- This function will mark a task as not done yet by leaving the tickbox empty.
- Example:
>>> unmark 2
____________________________________________________________

Got it. I've marked this task as not done yet:

[D][ ] midterm (by tommorrow)
Now you have 0 marked tasks in the list.
____________________________________________________________

## Feature - Date
- This function will find if a date is in the task list yet. The date should be in the format of YYYY-MM-DD with YYYY is the year, MM is the month and DD is the day.
- Example:
>>> date /2023-03-04
____________________________________________________________
1 task happen on this date
____________________________________________________________

## Feature - Find
- This function will find if the task the user want to search is in the list yet, and list all task with that name
- Example:
>>> find Open House
____________________________________________________________
Here are the matching tasks in your list, with 1 task as followed:
[E][ ] Open House (at Sunday)

____________________________________________________________

## Feature - Bye
- This function will help the chatbot to say bye to the user, and end up the conversation.
- Example:
>>> bye
____________________________________________________________
Bye. Hope to see you again soon!


____________________________________________________________

### That's all about Arsdorint chatbot! Hope you enjoy our product, and leave some comments to help us improve the chatbot! Thank you so much!
```
Hello from
____ _
| _ \ _ _| | _____
| | | | | | | |/ / _ \
| |_| | |_| | < __/
|____/ \__,_|_|\_\___|
___ _ _
/ _ \ _____ _____ ___| | ___ _____ _ _____ _| |_
/ /_\ \ / ___| / __/ / _ | / _ \ / ___| | | | _ \ |_ _|
/ _____ \ | / __\ \ | |_| | | |_| | | / | | | | | | | |
/_/ \_\ |_| /____/ \_____| \___/ |_| |_| |_| |_| |_|

```
183 changes: 169 additions & 14 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,184 @@
# User Guide
# Arsdorint chatbot

## Features
This is Arsdorint chatbot, a member of Arsdorint Team, and an adaptation application of CS2113 Project Duke)

### Feature-ABC
## User Guide

Description of the feature.
1. To download the application, click [here](https://github.com/arsdorintbp2003/ip/releases/tag/A-Released).
2. Copy the file path after your download. (ie: C:\Users\YourPC\GitHub\ip_jar)
3. Open your terminal, if the current path is not where you keep the file (ie: C:\Users\YourPC), just type `cd` + the remaining path (ie: 'cd GitHub\ip_jar`) to access the file path.
4. Initializing the application by typing `java -jar ip.jar`, and enjoy using the chatbot.
5. The chatbot contains the following feature
+ List
+ Todo
+ Deadline
+ Event
+ Mark
+ Unmark
+ Date
+ Find
+ Bye

### Feature-XYZ
## Feature - List
- This function will list all the tasks inputed by the user.
- Example:

Description of the feature.
```
>>> list
Here are the tasks in your list:

____________________________________________________________
____________________________LIST____________________________
1.[T][ ] midterm
Now you have 1 task in the list.
____________________________________________________________
```

## Feature - Todo
- This function will add a task that the user want to do, with a tickbox to mark if the task is done yet or not.
- Example:

```
>>> todo midterm
____________________________________________________________

Got it. I've added this task:

[T][ ] midterm
Now you have 1 task in the list.
____________________________________________________________
```

## Feature - Deadline
- This function will add a deadline that the user need to complete, with a tickbox to mark if the deadline is finished or not.
- Example:

```
>>> deadline midterm /by tommorrow
____________________________________________________________

## Usage
Got it. I've added this task:

[D][ ] midterm (by tommorrow)
Now you have 2 tasks in the list.
____________________________________________________________
```

or

### `Keyword` - Describe action
```
>>> deadline midterm /2023-03-04
____________________________________________________________

Describe the action and its outcome.
Got it. I've added this task:

[D][ ] midterm (4 Mar 2023)
Now you have 4 tasks in the list.
____________________________________________________________
```

Example of usage:
## Feature - Event
- This function will add an event that the user need to attend, with a tickbox to mark if the user have attended or not.
- Example:

`keyword (optional arguments)`
```
>>> event Open House /on Sunday
____________________________________________________________

Expected outcome:
Got it. I've added this task:

[E][ ] Open House (on Sunday)
Now you have 5 tasks in the list.
____________________________________________________________
```

Description of the outcome.
or

```
expected output
>>> event NUS football match /2023-03-05
____________________________________________________________

Got it. I've added this task:

[E][ ] NUS football match (5 Mar 2023)
Now you have 6 tasks in the list.
____________________________________________________________
```

## Feature - Mark
- This function will mark a task as done by tick a "X" into the tickbox.
- Example:

```
>>> mark 2
____________________________________________________________

Got it. I've marked this task as done:

[D][X] midterm (by tommorrow)
Now you have 5 unmarked tasks in the list.
____________________________________________________________
```

## Feature - Unmark
- This function will mark a task as not done yet by leaving the tickbox empty.
- Example:

```
>>> unmark 2
____________________________________________________________

Got it. I've marked this task as not done yet:

[D][ ] midterm (by tommorrow)
Now you have 0 marked tasks in the list.
____________________________________________________________
```

## Feature - Date
- This function will find if a date is in the task list yet. The date should be in the format of YYYY-MM-DD with YYYY is the year, MM is the month and DD is the day.
- Example:

```
>>> date 2022-03-04
____________________________________________________________
1 task occurs on this date:
[D][ ] Open House (4 Mar 2022)
```

## Feature - Find
- This function will find if the task the user want to search is in the list yet, and list all task with that name
- Example:

```
>>> find Open House
____________________________________________________________
Here are the matching tasks in your list, with 1 task as followed:
[E][ ] Open House (on Sunday)

____________________________________________________________
```

## Feature - Bye
- This function will help the chatbot to say bye to the user, and end up the conversation.
- Example:

```
>>> bye
____________________________________________________________
Bye. Hope to see you again soon!


____________________________________________________________
```

### That's all about Arsdorint chatbot! Hope you enjoy our product, and leave some comments to help us improve the chatbot! Thank you so much!
```
Hello from
___ _ _
/ _ \ _____ _____ ___| | ___ _____ _ _____ _| |_
/ /_\ \ / ___| / __/ / _ | / _ \ / ___| | | | _ \ |_ _|
/ _____ \ | / __\ \ | |_| | | |_| | | / | | | | | | | |
/_/ \_\ |_| /____/ \_____| \___/ |_| |_| |_| |_| |_|

```
Loading