Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
d3163e8
Added the driver function to take in user input.
jared98lyj Feb 4, 2021
d4a6722
Level 2
jared98lyj Feb 4, 2021
fe3ca81
Updated to level 3.
jared98lyj Feb 5, 2021
5039c1a
Level-4
jared98lyj Feb 5, 2021
da14f03
Level-5
jared98lyj Feb 5, 2021
0de7bcb
Level-6
jared98lyj Feb 6, 2021
5da5f47
Renamed to Duke.java
jared98lyj Feb 6, 2021
77d1af0
Level-7
jared98lyj Feb 7, 2021
18fefbf
Level-8
jared98lyj Feb 10, 2021
c8a2318
A-J-Unit
jared98lyj Feb 11, 2021
1304374
Level-9
jared98lyj Feb 13, 2021
4f24e1a
A-MoreOOP
jared98lyj Feb 14, 2021
1840dd9
Add JUnit Tests
jared98lyj Feb 14, 2021
0ea2605
Made the classes more OOP-like.
jared98lyj Feb 14, 2021
32edbd5
Level-10
jared98lyj Feb 15, 2021
14600d2
Added important assertions throughout the code. Some of them include …
jared98lyj Feb 15, 2021
03647c1
Improved abstration in the Duke.java, erasing direct array/list acces…
jared98lyj Feb 15, 2021
e7ef799
Improved the find function to be more flexible, giving the user the o…
jared98lyj Feb 15, 2021
e1e5628
Built a basic GUI for interaction betwen user and bot.
jared98lyj Feb 16, 2021
51aa8fe
Added a simple user guide with some usage examples and corresponding …
jared98lyj Feb 16, 2021
bf88b10
Added java doc comments for most methods, less the getter and setter …
jared98lyj Feb 19, 2021
0f29c67
Improved code quality by ensuring similar levels of abstraction in a …
jared98lyj Feb 19, 2021
f81b02a
Refactored CLI version of Duke.java.
jared98lyj Feb 19, 2021
507b9d7
Improved consistency of String representation and formatting.
jared98lyj Feb 19, 2021
677fc36
Added input and expected text to the files. Debugged some of the inco…
jared98lyj Feb 19, 2021
9949574
Fixed launching issues with duke.jar file.
jared98lyj Feb 19, 2021
1b8b269
Made final changes to the readMe file and added a background image.
jared98lyj Feb 19, 2021
e874003
Update README.md
jared98lyj Feb 19, 2021
95b3b38
Delete README.md
jared98lyj Feb 19, 2021
d6ece15
Updated minor changes to UI class.
jared98lyj Feb 19, 2021
7207a74
Set theme jekyll-theme-slate
jared98lyj Feb 20, 2021
518584e
Commtting the Ui.png file to docs directory
jared98lyj Feb 20, 2021
b4d202a
Revert "Commtting the Ui.png file to docs directory"
jared98lyj Feb 20, 2021
64f4838
Merge branch 'master' of https://github.com/jared98lyj/ip
jared98lyj Feb 20, 2021
c110de9
Commiting the Ui.png to docs directory
jared98lyj Feb 20, 2021
23b0d4c
no message
jared98lyj Feb 20, 2021
a8522c6
Renamed image file to Ui.png
jared98lyj Feb 21, 2021
7af6082
Renamed to Ui.png
jared98lyj Feb 21, 2021
b07b0a0
Update README.md
jared98lyj Mar 7, 2021
5f828d2
Update README.md
jared98lyj Mar 7, 2021
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
23 changes: 0 additions & 23 deletions README.md

This file was deleted.

46 changes: 46 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '5.1.0'
id 'org.openjfx.javafxplugin' version '0.0.9'
}

application {
mainClassName = "Launcher"
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

repositories {
mavenCentral()
}

test {
useJUnitPlatform()
}

dependencies {
String javaFxVersion = '11'

implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'linux'
implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'linux'
implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'linux'
implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'linux'

testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.5.0'

}
4 changes: 4 additions & 0 deletions data/Duke.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
T||borrow book
E||meet friend | wed 2pm
D|X|return book |2020-08-25
T||hello world
71 changes: 63 additions & 8 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,75 @@
# User Guide

JDK 11
## Features

### Feature 1
Description of feature.
### Command based Response
Bot that takes in a list of tasks to do and stores it in a list.
Tasks that are
done are marked as done with a cross.
#### Commands
list - lists all existing tasks

## Usage
todo, deadline, event {some task} - creates the respective task, date in yyyy-MM-dd

### `Keyword` - Describe action
delete {index} - deletes the respective task

Describe action and its outcome.
find {keyword} {search type (optional)} - retrieves matching task according to keyword
and optional search parameter (p [default, partial search case sensitive], pi [partial case insensitive], f [full exact search])

done {index} - marks task as done

## Usage

### `Keyword` `task to be added` `date if present`

Example of usage:

`keyword (optional arguments)`
### Adding a todo task Read book

`todo Read book`

Expected outcome:

`outcome`
Retrieving the list by typing the string list as input will give:
Here are the tasks in your list:

### Marking the todo task as done

1.[T][] Read book

`done 1`

Expected Outcome:

Nice! I've marked this task as done:

1.[T][X] Read book

### Deleting the todo task

`delete 1`

Noted. I've removed this task:
1.[T][X] Read book
Now you have 0 tasks in your list.

### Creating a deadline

`deadline return book /by 2019-06-20`

Got it. I've added this task: [D][] return book /by 2019-06-20
Now you have 1 tasks in the list

### Listing the tasks

`list`

Here are the tasks in your list:
1. [D][] return book (by: Jun 20 2019)

### Finding a task (case insensitive search)

`find BOOK pi`

Here are the matching tasks in your list:
1. [D][] return book (by: Jun 20 2019)
Binary file added docs/Ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-slate
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
185 changes: 185 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading