Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
ad8e067
level 0,1,2,3 increments are done.
ayushi0803 Sep 4, 2024
07f59be
I have done the ToDos, Events, and Deadlines. Users can create a new …
ayushi0803 Sep 4, 2024
bfdbfe9
this commit adds all my current work to github again
ayushi0803 Sep 20, 2024
0698d9b
Merge branch 'branch-Level-5'
ayushi0803 Sep 20, 2024
7248062
level 6 commit that has additional spaces to test branching
ayushi0803 Sep 20, 2024
3ae2e49
this commit shows that the delete feature has been added so that if y…
ayushi0803 Sep 20, 2024
8f0e008
Merge branch 'branch-Level-6'
ayushi0803 Sep 20, 2024
a417128
this commit consists of a file with my stored inputs and the stored i…
ayushi0803 Sep 20, 2024
2e8c2f6
this commit makes the code able to handle errors and throw out approp…
ayushi0803 Sep 20, 2024
b8ae068
this commit is a continuation to the previous commit and it serves to…
ayushi0803 Sep 20, 2024
ac1aa44
no message
ayushi0803 Oct 9, 2024
b4e8976
pushing all branches to my fork
ayushi0803 Oct 9, 2024
40fc93a
Merge pull request #1 from ayushi0803/branch-Level-8
ayushi0803 Oct 9, 2024
75a9741
Refactor Duke to A-MoreOOP structure: extracted Ui, Storage, TaskList…
ayushi0803 Oct 10, 2024
3579aea
Merge branch 'A-MoreOOP'
ayushi0803 Oct 10, 2024
e3f4fc3
fixing errors and conducting tests
ayushi0803 Oct 10, 2024
8bd8b6d
Teach the chatbot how to understand dates and times—parsing the input…
ayushi0803 Oct 10, 2024
bafe749
Give users a way to find a task by searching for a keyword.
ayushi0803 Oct 10, 2024
2dfc562
Add JavaDoc comments to the code. Adding header comments to all class…
ayushi0803 Oct 10, 2024
bada908
adding header comments to methods and classes.
ayushi0803 Oct 10, 2024
2e1d503
Merge branch 'A-JavaDoc'
ayushi0803 Oct 10, 2024
2433b68
Update README.md
ayushi0803 Oct 10, 2024
7269ffa
Changing the name Duke to Ruhi - my chatbot
ayushi0803 Oct 10, 2024
dfc56c4
Merge branch 'master' of https://github.com/ayushi0803/ip
ayushi0803 Oct 10, 2024
5bd867c
Update README.md
ayushi0803 Oct 10, 2024
caa6b86
Update README.md
ayushi0803 Oct 10, 2024
be6ab9d
Update README.md
ayushi0803 Oct 10, 2024
7ca3341
Update README.md
ayushi0803 Oct 10, 2024
aba22b9
jar file upload release
ayushi0803 Oct 10, 2024
8bf1b20
Delete gradle/wrapper/gradle-wrapper.jar
ayushi0803 Oct 11, 2024
8a1825b
Update Parser.java to handle longer inputs
ayushi0803 Oct 11, 2024
bdafc37
Update Ruhi.java to handle 'Bye' command and longer inputs
ayushi0803 Oct 11, 2024
b837998
Update Storage.java to handle tasks marked as done and not done in a …
ayushi0803 Oct 11, 2024
519e612
Update Task.java to handle done and not done tasks
ayushi0803 Oct 11, 2024
5cdce35
Update Ruhi.java
ayushi0803 Oct 11, 2024
573b20e
Update Parser.java
ayushi0803 Oct 11, 2024
2bb52c2
Update Ruhi.java
ayushi0803 Oct 11, 2024
fe5010c
Update README.md
ayushi0803 Oct 15, 2024
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
12 changes: 12 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#
# https://help.github.com/articles/dealing-with-line-endings/
#
# Linux start script should use lf
/gradlew text eol=lf

# These are Windows script files and should use crlf
*.bat text eol=crlf

# Binary files should be left untouched
*.jar binary

6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ bin/

/text-ui-test/ACTUAL.TXT
text-ui-test/EXPECTED-UNIX.TXT

# Ignore Gradle project-specific cache directory
.gradle

# Ignore Gradle build output directory
build
101 changes: 92 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Duke project template
# Ruhi Personal Task Management 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 a project template for a greenfield Java project. It's named after the Java mascot _Ruhi_. Given below are instructions on how to use it.

## Setting up in Intellij

Expand All @@ -13,12 +13,95 @@ Prerequisites: JDK 17, update Intellij to the most recent version.
1. If there are any further prompts, accept the defaults.
1. Configure the project to use **JDK 17** (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:
3. After that, locate the `src/main/java/Ruhi.java` file, right-click it, and choose `Run Ruhi.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:
```
Hello from
____ _
| _ \ _ _| | _____
| | | | | | | |/ / _ \
| |_| | |_| | < __/
|____/ \__,_|_|\_\___|
Hello! I'm Ruhi.

```

User Guide for Ruhi

Welcome to Ruhi, your personal task management chatbot! Ruhi is designed to help you organize your tasks efficiently - you can add, mark, and search for tasks effortlessly!

Features

1. Adding Tasks
You can add tasks to your list using the following command:

Syntax: add <task_description>
Example: add read book

2. Deadline Tasks
You can create tasks with deadlines:

Syntax: deadline <task_description> /by <yyyy-mm-dd HH:mm>
Example: deadline return book /by 2023-10-15 18:00

3. Listing Tasks
To view all tasks you have added, use:

Command: list
Output: Displays all tasks in your list with their status.

4. Marking Tasks
You can mark tasks as done or not done:

Mark as Done:
Syntax: mark <task_number>
Example: mark 1
Mark as Not Done:
Syntax: unmark <task_number>
Example: unmark 1

5. Deleting Tasks
To remove a task from your list:

Syntax: delete <task_number>
Example: delete 1

6. Finding Tasks
You can search for tasks that contain specific keywords:

Syntax: find <keyword>
Example: find book

7. Exiting the Chatbot
To exit Ruhi, simply type:

Command: bye
Output: Ruhi will say goodbye and close the session.
Example Interaction

Here's how a typical interaction with Ruhi might look:

markdown
Copy code
Hello! I'm Ruhi.
What can I do for you?
____________________________________________________________
add read book
Added: read book
____________________________________________________________
deadline return book /by 2023-10-15 18:00
Added: return book (by: 2023-10-15 18:00)
____________________________________________________________
list
Here are the tasks in your list:
1. [T][ ] read book
2. [D][ ] return book (by: 2023-10-15 18:00)
____________________________________________________________
find book
Here are the matching tasks in your list:
1. [T][ ] read book
2. [D][ ] return book (by: 2023-10-15 18:00)
____________________________________________________________
bye
Bye. Hope to see you again soon!

Exclusive Tips for Using Ruhi

Use clear and concise task descriptions for better organisation.
Ensure your date and time formats are correct when adding deadline tasks.
If you encounter any issues, double-check your command syntax.
With this guide, you should have everything you need to get started with Ruhi. Enjoy organizing your tasks!

Empty file added build.gradle
Empty file.
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* Learn more about Gradle by exploring our Samples at https://docs.gradle.org/8.10.2/samples
*/
31 changes: 31 additions & 0 deletions data/Ruhi.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
T | 0 | hi
T | 1 | hoisdjfhsd
T | 0 | dg
T | 0 | gwrs
T | 1 | grw
T | 0 | g
T | 0 | wrglisty
T | 0 | hiorgw
T | 0 | rg
T | 0 | wrg
T | 0 | wr
T | 0 | gwr
T | 0 | g
T | 0 | wrh
T | 0 | wrh
T | 0 | wrh
T | 0 | save
T | 0 | hi
T | 0 | sg
T | 0 | sr
T | 0 | gwr
T | 0 | g
T | 0 | rwg
T | 0 | rgw
T | 0 | wr
T | 0 | lisyt
T | 0 | todo
T | 0 | Ayushi attend CS2113 lecture friday 23 feb 2024 from 4 to 6 pm
T | 0 | Avengers Assemble
T | 0 | Avengers Assemble

2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This file was generated by the Gradle 'init' task.
# https://docs.gradle.org/current/userguide/platforms.html#sub::toml-dependencies-format
7 changes: 7 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading