Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
d839859
Add Gradle support
May 24, 2020
4cfc67b
First commit (Level-1)
naranghardik16 Aug 19, 2021
4736ca7
Added Level-2 increment
naranghardik16 Aug 19, 2021
cfd5b25
Added Level-3 increment
naranghardik16 Aug 19, 2021
bd6934e
Added Level-4 Increment
naranghardik16 Aug 19, 2021
5ef0281
Added Exception handling
naranghardik16 Aug 19, 2021
1d94770
Added Level-6 increment
naranghardik16 Aug 19, 2021
b53bd2b
automate Ui testing
naranghardik16 Aug 19, 2021
702a6ac
Made minor changes (worked on organization)
naranghardik16 Aug 28, 2021
7ea4cc3
Level-7
naranghardik16 Aug 29, 2021
c13f776
Made minor changes
naranghardik16 Aug 30, 2021
17dcb8d
Revert "Level-7"
naranghardik16 Aug 30, 2021
cce678c
Made minor changes
naranghardik16 Aug 30, 2021
985e487
Level-8
naranghardik16 Aug 30, 2021
cb0f6ce
Resolving conflicts
naranghardik16 Aug 30, 2021
9a37325
Resolving conflict
naranghardik16 Aug 30, 2021
044eb74
Merge branch 'branch-Level-7'
naranghardik16 Aug 30, 2021
9c1a2a6
Merge branch 'branch-Level-8'
naranghardik16 Aug 30, 2021
9d62a81
A-MoreOOP
naranghardik16 Aug 31, 2021
58fff1d
Made minor changes
naranghardik16 Aug 31, 2021
8715041
Merge branch 'add-gradle-support'
naranghardik16 Aug 31, 2021
43765c6
Added support for testing
naranghardik16 Sep 1, 2021
21bd54f
Added JavaDoc
naranghardik16 Sep 1, 2021
d30698e
Added JavaDoc
naranghardik16 Sep 1, 2021
ee67ca5
Added CodingStandard
naranghardik16 Sep 1, 2021
d9c02fc
Added Level-9
naranghardik16 Sep 1, 2021
a3b3d47
Merge branch 'branch-A-CodingStandard'
naranghardik16 Sep 1, 2021
23ef5fb
Merge branch 'branch-Level-9'
naranghardik16 Sep 1, 2021
cd74b28
Merged all 3 branches and made minor changes
naranghardik16 Sep 1, 2021
b5b092f
Added GUI capabilities
naranghardik16 Sep 20, 2021
44a8d27
Merge branch 'branch-Level-10'
naranghardik16 Sep 20, 2021
d602943
Improve Code Quality
naranghardik16 Sep 20, 2021
a8ec3fc
Improve Code Quality
naranghardik16 Sep 20, 2021
b144d14
Improve formatting
naranghardik16 Sep 20, 2021
06559aa
Add Assertions
naranghardik16 Sep 20, 2021
faa775f
Merge pull request #3 from naranghardik16/branch-A-CodeQuality
naranghardik16 Sep 20, 2021
31b0bd6
Merge branch 'branch-A-Assertions'
naranghardik16 Sep 20, 2021
4349b1a
Merge pull request #2 from naranghardik16/branch-A-Assertions
naranghardik16 Sep 20, 2021
34dfcea
Add Extension C-Priority
naranghardik16 Sep 20, 2021
33cc82f
Merge branch 'branch-C-Priority'
naranghardik16 Sep 20, 2021
d05d812
Merge pull request #4 from naranghardik16/branch-C-Priority
naranghardik16 Sep 20, 2021
8b53d83
Merge branch 'master' of https://github.com/naranghardik16/ip
naranghardik16 Sep 20, 2021
ad63b5c
Make changes to text file
naranghardik16 Sep 20, 2021
a79fe1b
Add representative screenshot
naranghardik16 Sep 20, 2021
65614d9
Add User Guide
naranghardik16 Sep 20, 2021
4cfef5b
Set theme jekyll-theme-minimal
naranghardik16 Sep 20, 2021
f91b546
Set theme jekyll-theme-cayman
naranghardik16 Sep 20, 2021
fa07ae8
Add UserGuide
naranghardik16 Sep 20, 2021
17b437e
Set theme jekyll-theme-cayman
naranghardik16 Sep 20, 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
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 'checkstyle'
id 'com.github.johnrengelman.shadow' version '5.1.0'
}

repositories {
mavenCentral()
}

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

test {
useJUnitPlatform()

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

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

application {
mainClassName = "seedu.duke.Duke"
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

checkstyle {
toolVersion = '8.29'
}

run{
standardInput = System.in
}
3 changes: 3 additions & 0 deletions data/duke.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
T | 0 | 0 | dance
D | 0 | 1 | jogging | 28/09/2021 1600
E | 0 | 0 | gym | 26/10/2021 1300
140 changes: 129 additions & 11 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,147 @@
# User Guide
Hello this is Duke!

It will help you keep track of your tasks, and save them on your device.

## Features

### Feature-ABC
### Feature-Managing Tasks

Duke helps you manage three kind of tasks:

Description of the feature.
1. Deadline - A deadline task is one which needs to be completed within a stipulated period of time. For example, deadline to finish an assignment or group project submission.
2. Event - An event task is one which occurs on a particular time. For example attending an online conference, zoom call, family function or official meetings.
3. ToDo - A toDo task is one which does not have any particular date or time. This task serves the purpose of reminding the user that it needs to done. For example, visiting the dentist.

### Feature-XYZ
### Feature-Prioritizing Tasks

Description of the feature.
Duke helps you prioritize your tasks in the following way:

1. High - The tasks with high priority need to be given utmost importance.
2. Low - The tasks with low priority need to be given the least importance.

## Usage

### `Keyword` - Describe action
### `todo` - Add a ToDo task

This command adds a toDo task to the existing list of tasks. You do not have to enter the date for this type of task.

Format:

`todo breakfast`

Output:

```
Got it. I've added this task:
[T][][Low] breakfast
Now you have 8 tasks in the list
```
### `list` - Display all the tasks

This command is used to display the list of all the tasks.

Format:

`list`

Output:

```
Here are the tasks in your list
1.[T][][Low]dance
2.[D][X][High]jogging (by:Sep 28 2021, 16:00)
3.[E][][Low]gym (at:Sep 23 2021, 17:00)
```
### `delete` - Delete a task

This command is used to delete a task from the list of tasks.

Format:

`delete 7`

Output:

```
Noted. I've removed this task:
[D][][Low]CS2103Tip (by:Sep 20 2021, 11;59)
Now you have 11 tasks in the list
```
### `done` - Mark the task as Completed

This command is used to mark the task as completed. This command is basically used to change the status of task from incomplete to complete.

Format:

`done 3`

Output:

```
Nice! I've marked this task as done:
[E][X][Low]gym(at:Oct 26 2021,13:00)
```
### `find` - Find tasks similar to the given keyword

This command is used to find similar tasks from the list of tasks matching the keyword entered by the user.

Format:

`find book`

Output:

```
Here are the matching tasks in your listbook
11.[T][][Low]read book
12.[T][][Low]revise book
```
### `deadline` - Add a Deadline task

This command is used to add a deadline task to the list of tasks. You need to specify the date and time as well for this type of task. The date and time should strictly follow this format: dd/mm/yyyy HHmm

Format:

`deadline assignment /by 24/09/2021 1800``

Output:

```
Got it. I've added this task:
[D][][Low] assignment (by: Sep 24 2021, 18:00)
Now you have 10 tasks in the list
```
### `event` - Add an Event task

This command is used to add an event task to the list of tasks. You need to specify the date and time as well for this type of task, The date and time should strictly follow this format: dd/mm/yyyy HHmm

Format:

`event Flutter /at 25/09/2021 1100`

Output:

```
Got it. I've added this task:
[E][][Low] Flutter (at: Sep 25 2021, 11:00)
Now you have 9 tasks in the list
```

### `high` - Change the Priority of Task to High

Describe the action and its outcome.
This command is used to change the priority of the task to High. The default priority of the task is set to by Low. In this release Duke has only two levels of Priority for each type of tasks:

Example of usage:
1. High
2. Low

`keyword (optional arguments)`
Format:

Expected outcome:
`high 5`

Description of the outcome.
Output:

```
expected output
I've given HIGH priority to this task
[T][x][High] dinner
```
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-cayman
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.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading