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

[Li Beining] iP #453

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
3b19ba1
Add Gradle support
May 24, 2020
6433366
feat(main):Greet, Echo, Exit
dearvae Aug 20, 2020
2c6280c
feat(main):Add, List
dearvae Aug 20, 2020
a98a4aa
feat(Task): added new class Task
dearvae Aug 20, 2020
35cac77
feat(main):added ToDos, Events, Deadlines
dearvae Aug 20, 2020
167076e
test: added text-ui-test
dearvae Aug 20, 2020
d1fd443
feat(DukeException): added exception handle
dearvae Aug 20, 2020
e7b3189
feat(main):added delete
dearvae Aug 20, 2020
5000858
added enum and beautify code
dearvae Aug 20, 2020
c016462
add fileHelper and TaskList
dearvae Aug 28, 2020
ce40f56
deadline added dateTime
dearvae Aug 29, 2020
63df09e
merge branch level 8 to master
dearvae Aug 29, 2020
340c39e
make code more OOP
dearvae Aug 31, 2020
f9224cb
Divide classes into packages
dearvae Aug 31, 2020
5cebe5f
add Junit test for parser
dearvae Sep 1, 2020
0280f8e
Add JavaDoc comments
dearvae Sep 1, 2020
37c6aed
tweak the code to comply coding standard
dearvae Sep 1, 2020
1bea932
add feature find task by keyword
dearvae Sep 1, 2020
55fb07a
fix merge conflict
dearvae Sep 2, 2020
199363e
fix merge conflicts
dearvae Sep 2, 2020
3456e73
merge add_gradle_support
dearvae Sep 2, 2020
d9b7eaf
add GUI for Duke
dearvae Sep 2, 2020
6344b5f
fix bug
dearvae Sep 3, 2020
4e1a5f6
refactor code to comply javastandard style
dearvae Sep 9, 2020
15a0ebf
(TaskList) add assertion
dearvae Sep 9, 2020
3398724
Merge pull request #1 from dearvae/branch-A-Assertions
dearvae Sep 9, 2020
2171b87
refractor code for better codeQuality
dearvae Sep 9, 2020
df0f331
merge with master
dearvae Sep 9, 2020
ebee7eb
Merge pull request #2 from dearvae/branch-A-CodeQuality
dearvae Sep 9, 2020
b27cbc5
add extension help command
dearvae Sep 9, 2020
064e9bd
Merge pull request #3 from dearvae/branch-Extension
dearvae Sep 9, 2020
2ede15c
rename to KK
dearvae Sep 16, 2020
ddfa302
Update README.md
dearvae Sep 16, 2020
06cd463
Set theme jekyll-theme-leap-day
dearvae Sep 16, 2020
6fac0a1
add ui.png
dearvae Sep 16, 2020
c722ee3
update userguide
dearvae Sep 16, 2020
7b5db87
updated UI
dearvae Sep 18, 2020
f19f18a
update exception when create deadline object
dearvae Sep 18, 2020
2331709
fix bugs raised by peer comment
dearvae Oct 18, 2020
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
49 changes: 23 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
# Duke project template

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.

## Setting up in Intellij

Prerequisites: JDK 11, update Intellij to the most recent version.

1. Open Intellij (if you are not in the welcome screen, click `File` > `Close Project` to close the existing project dialog first)
1. Set up the correct JDK version, as follows:
1. Click `Configure` > `Structure for New Projects` and then `Project Settings` > `Project` > `Project SDK`
1. If JDK 11 is listed in the drop down, select it. If it is not, click `New...` and select the directory where you installed JDK 11
1. Click `OK`
1. Import the project into Intellij as follows:
1. Click `Open or Import`.
1. Select the project directory, and click `OK`
1. If there are any further prompts, accept the defaults.
1. After the importing is complete, locate the `src/main/java/Duke.java` file, right-click it, and choose `Run Duke.main()`. If the setup is correct, you should see something like the below:
```
Hello from
____ _
| _ \ _ _| | _____
| | | | | | | |/ / _ \
| |_| | |_| | < __/
|____/ \__,_|_|\_\___|
```
# Your life Asistant Chat Bot - KK

This is a chatbot that can help you keep track of your to do list. It's named is KK. Given below are instructions on how to use it.
_ _
| | / /| | / /
| |/ / | |/ /
| < | <
|_|\_\ |_|\_\


## Sample commands include:

**list** This shows the list of things you have added

**event** <content> /at <time> This adds an event at the stipulated time

**deadline** <content> /by <time> This adds a deadline by the stipulated time

**todo** <content> This adds a todo to the bot

**done** <index> This marks the thing at index index as completed

**delete** <index> This deletes the thing at index index
63 changes: 63 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '5.1.0'
}

repositories {
mavenCentral()
}

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'
}


test {
useJUnitPlatform()

testLogging {
events "passed", "skipped", "failed"

showExceptions true
exceptionFormat "full"
showCauses true
showStackTraces true
showStandardStreams = false
}
}

application {
mainClassName = "duke.Launcher"
}

version = '0.2'

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

checkstyle {
toolVersion = '8.29'
}

run{
standardInput = System.in
}
Loading