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

[Gavin Cho] iP #530

Open
wants to merge 41 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
556af3f
Add Gradle support
May 24, 2020
1c74c0b
Level 1 implemented
Gavzzz Aug 18, 2022
acab8ca
Level 2 implemented
Gavzzz Aug 18, 2022
495d75f
edited Level 2
Gavzzz Aug 18, 2022
cf2222b
Level 3 implemented
Gavzzz Aug 18, 2022
f7da0fc
Task class implemented
Gavzzz Aug 18, 2022
6efa017
Level 3 edited
Gavzzz Aug 19, 2022
f485a40
Level 4 implemented
Gavzzz Aug 19, 2022
9ea2336
Level 5 implemented
Gavzzz Aug 20, 2022
d1eeead
Level 6 implemented
Gavzzz Aug 20, 2022
1bc98d4
Level 7 implemented
Gavzzz Sep 3, 2022
d4c0930
Level-8 implemented
Gavzzz Sep 6, 2022
77784ad
More oop implemented
Gavzzz Sep 13, 2022
9f18cfa
Packages enabled
Gavzzz Sep 13, 2022
7e0f15e
Merge branch 'add-gradle-support'
Gavzzz Sep 13, 2022
11ed975
Level 9 implemented
Gavzzz Sep 13, 2022
9b80d78
updated level 8
Gavzzz Sep 13, 2022
6a229ea
updated level 9
Gavzzz Sep 13, 2022
577792e
Merge branch 'branch-Level-9'
Gavzzz Sep 13, 2022
9f8c006
updated level 8
Gavzzz Sep 13, 2022
6f73e7f
Merge branch 'branch-Level-8'
Gavzzz Sep 13, 2022
bb5a7ef
java docs implemented
Gavzzz Sep 15, 2022
84d9b6f
Coding standard implemented
Gavzzz Sep 15, 2022
6c36b7c
JUnit Tests implemented
Gavzzz Sep 15, 2022
aee7f8a
Jar file dependencies implemented
Gavzzz Sep 16, 2022
cd63ed5
Implemented GUI
Gavzzz Sep 18, 2022
ed5372d
Assertions implemented
Gavzzz Sep 18, 2022
4bf0b8c
implemented code quality checking
Gavzzz Sep 18, 2022
66485b3
Update README.md
Gavzzz Sep 18, 2022
ebdccba
Detect duplicates implemented
Gavzzz Sep 18, 2022
a8245a2
Merge branch 'branch-BCD-Extension'
Gavzzz Sep 18, 2022
b98175d
Fixing level 8 branch issue and detect duplicates
Gavzzz Sep 19, 2022
3301a16
GUI bug fixed
Gavzzz Sep 19, 2022
b51074a
User guide implemented
Gavzzz Sep 19, 2022
117aec7
Update README.md
Gavzzz Sep 20, 2022
76c94ea
Update README.md
Gavzzz Sep 21, 2022
4187f78
Update README.md
Gavzzz Sep 21, 2022
8c4e65a
Removed unnecessary imports
Gavzzz Sep 21, 2022
70e51df
Merge branch 'master' of https://github.com/Gavzzz/ip
Gavzzz Sep 21, 2022
9ee19c5
Fix Jar File unable to open issue and add new bcd tags extension
Gavzzz Oct 16, 2022
bc5e274
fix test file naming
Gavzzz Oct 17, 2022
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
58 changes: 34 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,34 @@
# 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 first)
1. Open the project into Intellij as follows:
1. Click `Open`.
1. Select the project directory, and click `OK`.
1. If there are any further prompts, accept the defaults.
1. Configure the project to use **JDK 11** (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:
```
Hello from
____ _
| _ \ _ _| | _____
| | | | | | | |/ / _ \
| |_| | |_| | < __/
|____/ \__,_|_|\_\___|
```
# DukeProMax

"Always give your 100% in everything, except when donating blood" - some dude

DukeProMax allows you to store your daily tasks so you can always give your 100% on a day to day basis. It is

- SUPER easy to use
- USER Friendly
- SUPER Fast to use

# SUS for short :+1:

1. Download it from [here](https://github.com/Gavzzz/ip)
2. Double-click it.
3. Chat with it to add you tasks
4. Let it manage your tasks for you


The best part? It is absolutely

# FREE!!

Features include but not limited to

- [x] Managing tasks
- [x] Managing events
- [x] Finding tasks
- [ ] More extensions coming soon


So what are you waiting for???
# USE IT NOW!!!!


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 '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 = "duke.gui.Launcher"
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

run {
standardInput = System.in
}
1 change: 1 addition & 0 deletions database/duke.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
T | 0 | borrow
126 changes: 116 additions & 10 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,135 @@
# User Guide
# User Guide for DukeMaxPro

## Features

### Feature-ABC
### Add Tasks

Description of the feature.
Add up to 3 different types of tasks!

### Feature-XYZ
[todo]

A todo task denoted by [T]

input format: "todo" + task description

[deadline]

A deadline task denoted by [D]

A deadline task with a deadline to be input, denoted by [D]

Input format: "deadline" + task description + "/by" + deadline

[Event]

An event task with a time of event, denoted by [E]

Input format: "event" + task description + "/at" + time of event

### Mark / Unmark tasks as done

Marks tasks as done with an "X" or undone without an "X" and with an empty box [ ]
to keep track of task completion.

### View task list

Displays the entire task list

### Detect duplicates

Detects duplicate tasks inside the task lists and alerts the user about which
task is duplicated and how many tasks are duplicated

Description of the feature.

## Usage

### `Keyword` - Describe action
### `list` - Displays current task list


Example of usage:

`list`

Expected outcome:

```
[T][X] Borrow book
[D][ ] Return Book (by: Monday 2pm)
[E][ ] Meeting (at: Monday 2pm-4pm)
```

### `todo` - Adds a todo task to the task list

Describe the action and its outcome.

Example of usage:

`keyword (optional arguments)`
`todo`


Expected outcome:

Description of the outcome.
```
[T][X] Borrow book
```

### `deadline` - Adds a deadline task to the task list


Example of usage:

`deadline`


Expected outcome:

```
expected output
[D][ ] Return Book (by: Monday 2pm)
```

### `event` - Adds a event task to the task list


Example of usage:

`event`


Expected outcome:

```
[E][ ] Meeting (at: Monday 2pm-4pm)
```

### `mark` - Marks a task as done in the task list


Example of usage:

`mark 1`


Expected outcome:

```
[E][X] Meeting (at: Monday 2pm-4pm)
```

### `unmark` - Unarks a task as not done in the task list


Example of usage:

`unmark 1`


Expected outcome:

```
[E][ ] Meeting (at: Monday 2pm-4pm)
```






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