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

[shadhankkk] iP #649

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
68c58c1
Add Gradle support
May 24, 2020
03523ec
Bump gradle and lib version
Eclipse-Dominator Aug 5, 2023
81a9c53
build.gradle: Prevent generating a second JAR file
aureliony Jul 16, 2024
d139056
Completed Level-0
shadhankkk Aug 29, 2024
6d11112
Completed Level-1
shadhankkk Aug 29, 2024
ac03ccb
Completed Level-2
shadhankkk Aug 29, 2024
710f9d1
Completed Level-3
shadhankkk Aug 29, 2024
9890f84
Completed Level-4
shadhankkk Aug 29, 2024
200b0b0
Completed A-TextUiTesting
shadhankkk Aug 29, 2024
d91d2c1
Completed Level-5
shadhankkk Aug 29, 2024
5868cb4
Completed Level-6
shadhankkk Aug 29, 2024
c96b7f2
Level-7
shadhankkk Sep 5, 2024
15726f4
Completed Level-8
shadhankkk Sep 5, 2024
c6ccac9
Completed A-MoreOOP
shadhankkk Sep 5, 2024
11b3bbe
Completed A-Packages
shadhankkk Sep 5, 2024
ea11576
Merge remote-tracking branch 'remotes/origin/add-gradle-support'
shadhankkk Sep 5, 2024
0323b3c
Completed A-JUnit
shadhankkk Sep 5, 2024
1b2de53
Completed A-Jar
shadhankkk Sep 5, 2024
35f7cab
Completed A-JavaDoc
shadhankkk Sep 5, 2024
8cff8ae
Completed A-CodingStandard
shadhankkk Sep 5, 2024
e15d486
Completed Level-9
shadhankkk Sep 5, 2024
4356792
Completed Week 3 iP
shadhankkk Sep 5, 2024
77314b5
Completed Level-10
shadhankkk Sep 13, 2024
3e66054
Add assert statements to improve code safety
shadhankkk Sep 20, 2024
00444a8
Remove dead code from the program
shadhankkk Sep 20, 2024
99206f5
do A-UserGuide
shadhankkk Sep 20, 2024
650de1e
Rename jeff_chatbot_ss.png to Ui.png
shadhankkk Sep 20, 2024
f11762f
Rename jeff_chatbot_ss.png to Ui.png
shadhankkk Sep 20, 2024
4002640
Merge branch 'master' of https://github.com/shadhankkk/ip
shadhankkk Sep 20, 2024
bb0f4d0
Release v0.3
shadhankkk Sep 20, 2024
026a206
Add User Guide
shadhankkk Sep 20, 2024
121b454
Fix README.md broken image link
shadhankkk Sep 20, 2024
5ace3ba
v0.6
shadhankkk Sep 20, 2024
c953770
Add release v0.6
shadhankkk Sep 23, 2024
9921747
Add README.md
shadhankkk Sep 30, 2024
dc571c5
Update opening text
shadhankkk Sep 30, 2024
8e0965e
Remove dead code
shadhankkk Sep 30, 2024
0958d43
Update closing text
shadhankkk Sep 30, 2024
1b37d1a
Remove unnecessary blank lines
shadhankkk Sep 30, 2024
f362972
Fix ip peer review bugs
shadhankkk Oct 21, 2024
eb7c419
Remove dead code
shadhankkk Oct 21, 2024
922159a
Update out-of-bounds error handling
shadhankkk Oct 27, 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
24 changes: 0 additions & 24 deletions README.md

This file was deleted.

59 changes: 59 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}

repositories {
mavenCentral()
}

dependencies {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.10.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.10.0'

String javaFxVersion = '17.0.7'

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

sourceCompatibility = '17' // Ensures the code is compatible with Java 17 (class file version 61)
targetCompatibility = '17'

test {
useJUnitPlatform()

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

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

application {
mainClass.set("Launcher")
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

run{
standardInput = System.in
}
Empty file added data.txt
Empty file.
123 changes: 109 additions & 14 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,125 @@
# Duke User Guide
# Jeff User Guide

// Update the title above to match the actual product name
![](Ui.png)

// Product screenshot goes here

// Product intro goes here
Jeff is your personal assistant for maintaining tasks and deadlines.

## Adding deadlines

// Describe the action and its outcome.
Usage: deadline (task description) /by (deadline)

Example: `deadline Math Assignment /by 20th September 2024 5pm`

Expected Outcome: The Task will be added to your list of tasks


Expected Output:
```
Got it. I've added this task:
[D][] Math Assignment (by: 20th September 2024 5pm)
Now you have 1 task in the list.
```

## Adding todos

// Give examples of usage
Usage: todo (task description)

Example: `keyword (optional arguments)`
Example: `todo Math Assignment`

// A description of the expected outcome goes here
Expected Outcome: The Task is added to your list of tasks

Expected Output:
```
expected output
Got it. I've added this task:
[T][] Math Assignment
Now you have 1 task in the list.
```

## Feature ABC
## Adding Events

Usage: Event (task description) /from (start time) /to (end time)

Example: `event Math Exam /from (September 20th 2024 2pm) /to (September 20th 2024 4pm)`

Expected Outcome: The Task is added to your list of tasks

Expected Output:
```
Got it. I've added this task:
[E][] Math Exam (from:(September 20th 2024 2pm) to:(September 20th 2024 4pm))
Now you have 1 task in the list.
```

## Marking Events

Usage: mark (task number)

Example: `mark 1`

Expected Outcome: Task 1 is marked

Expected Output:
```
Nice! I've marked this task as done:
[D][X] Math Assignment (by: 20th September 2024 5pm)
```

## Unmarking Events

Usage: unmark (task number)

// Feature details
Example: `unmark 1`

Expected Outcome: Task 1 is marked

Expected Output:
```
OK, I've marked this task as not done yet:
[D][] Math Assignment (by: 20th September 2024 5pm)
```

## Listing Tasks

Usage: list

Example: `list`

Expected Outcome: All lists along with their ranks are listed

Expected Output:
```
1.[D][] Math Assignment (by: 20th September 2024 5pm)
2.[E][] Math Exam (from:(September 20th 2024 2pm) to:(September 20th 2024 4pm))
```

## Deleting Tasks
Usage: delete (task number)

Example: `delete 1`

Expected Outcome: the first task is deleted from the task list

Expected Output:
```
Noted. I've removed this task:
[D][] Math Assignment (by: 20th September 2024 5pm)
Now you have 1 task in the list.
```

## Finding Tasks
Usage: find (search query)

Example: `find Math`

Expected Outcome: All tasks containing the word "Math" (NOTE: This is case-sensitive) will be listed

Expected Output:
```
1.[T][] Math Assignment
2.[E][] Math Exam (from:(September 20th 2024 2pm) to:(September 20th 2024 4pm))
```

## Feature XYZ
## Exiting Chat
Usage: bye!

// Feature details
Expected Outcome: The chat is terminated ( but all data is saved )
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.
Binary file added duke.jar
Binary file not shown.
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
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-7.6.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading