Skip to content

[Goh Yijie Jonathan] ip #499

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

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
556af3f
Add Gradle support
May 24, 2020
debd796
Added command echoing (level -1)
jgyj123 Aug 17, 2022
5feb915
Level 2. Add, List
jgyj123 Aug 17, 2022
d64bbe9
Add the ability to mark tasks as done.
jgyj123 Aug 17, 2022
9eec39d
Add support for tracking three types of tasks:
jgyj123 Aug 17, 2022
d5676a5
Add Automated Text UI Testing
jgyj123 Aug 18, 2022
d26111e
Add Exception Handling
jgyj123 Aug 18, 2022
757d895
Add support for deleting tasks from the list.
jgyj123 Aug 18, 2022
09540fe
Add support for saving task in hard disk
jgyj123 Aug 24, 2022
c58d886
Add support for missing data folder
jgyj123 Aug 24, 2022
f4e7424
Add date parsing functionality
jgyj123 Aug 24, 2022
92d3732
Add parsing for dates
jgyj123 Aug 24, 2022
1e2205a
Revert "Add parsing for dates"
jgyj123 Aug 24, 2022
41fea6a
Revert "Revert "Add parsing for dates""
jgyj123 Aug 24, 2022
541ace7
Revert "Revert "Revert "Add parsing for dates"""
jgyj123 Aug 24, 2022
b867d99
Add date parsing
jgyj123 Aug 24, 2022
f17a1bf
Resolve bugs after merging branches 7 and 8
jgyj123 Aug 24, 2022
4ea4b78
Use more OOP
jgyj123 Aug 24, 2022
482591f
Add gradle support
jgyj123 Aug 26, 2022
176cafe
Add test file skeleton
jgyj123 Aug 26, 2022
e3d9944
Add JUnit tests
jgyj123 Aug 26, 2022
85ad687
Update marking of finished tasks
jgyj123 Aug 26, 2022
4a90319
Add JavaDoc for classes and methods
jgyj123 Aug 27, 2022
353532f
Follow coding standard
jgyj123 Aug 27, 2022
cd59fe1
Enable users to find task by searching for keyword
jgyj123 Aug 27, 2022
213a3c1
Merge branch 'A-JavaDoc'
jgyj123 Aug 27, 2022
f580256
Merge branch 'A-CodingStandard'
jgyj123 Aug 27, 2022
3b4851d
Merge branch 'Level-9'
jgyj123 Aug 27, 2022
04e0e8c
Divide classes into packages
jgyj123 Aug 29, 2022
8b74845
Add GUI to Duke using JavaFX
jgyj123 Aug 31, 2022
5ea0c5e
Merge branch 'branch-Level-10'
jgyj123 Aug 31, 2022
d501d21
update entry point of application
jgyj123 Sep 9, 2022
33a1260
Use Assert feature
jgyj123 Sep 9, 2022
3e398db
Improve code quality of code in parser class
jgyj123 Sep 9, 2022
62736b5
Merge pull request #1 from jgyj123/A-Assertions
jgyj123 Sep 9, 2022
ee48c2c
Merge branch 'master' into A-CodeQuality
jgyj123 Sep 9, 2022
2318de5
Merge pull request #2 from jgyj123/A-CodeQuality
jgyj123 Sep 9, 2022
319c864
Allow users to view deadlines and events on a specified date
jgyj123 Sep 9, 2022
62848e1
Allow users to indicate time of event and deadline
jgyj123 Sep 16, 2022
dc171d6
Add user guide
jgyj123 Sep 16, 2022
8b23f7d
Add line spacing to readme
jgyj123 Sep 16, 2022
851ccae
Add more line spacing to readme
jgyj123 Sep 16, 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
57 changes: 57 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '5.1.0'
id 'checkstyle'
}

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.Launcher"
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

run {
enableAssertions = true
standardInput = System.in
}
Binary file added docs/List.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
143 changes: 132 additions & 11 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,150 @@
# User Guide
Introducing RoboTask, our friendly robot that helps you manage and keep track of your tasks

## Features

### Feature-ABC
### GUI Based Application

Description of the feature.
Simple to use GUI-Based command line experience

### Task flexibility

Compatible with 3 types of tasks - Todos, Deadlines, and Events.

### Easy task management
Add, delete, find and mark tasks as complete with simple commands

### Feature-XYZ

Description of the feature.

## Usage

### `Keyword` - Describe action
### `list` - Displays list of tasks


Describe the action and its outcome.

Example of usage:

`keyword (optional arguments)`
`list`

Expected outcome:

![This is an image](List.png)


RoboTask provides a list of tasks



### `todo` - Creates a new todo task


Example of usage:

`todo ES2660 Assignment`

Expected outcome:

![This is an image](todo.png)

RoboTasks creates a new todo



### `deadline` - Creates a new deadline

Creates a new deadline task with a provided date and time

Example of usage:

`deadline Assignment /by 2022-09-20 23:59`

Expected outcome:

![This is an image](deadline.png)

RoboTask creates a new deadline




### `event` - Creates a new event

creates a new event with a provided date and time

Example of usage:

`event homecoming /at 2022-02-02 12:00`

Expected outcome:

![This is an image](event.png)

Robotask creats a new event




### `delete` - Deletes a task from the list


Example of usage:

`delete 3`

Expected outcome:

Description of the outcome.
![This is an image](delete.png)

Robotask deletes the task




### `done` - Marks a task as complete


Example of usage:

`done 2`

Expected outcome:

![This is an image](done.png)

RoboTask marks a task as complete




### `find` - Finds tasks with names matching keywords

Finds any tasks with keyword provided.

Example of usage:

`find homework`

Expected outcome:

![This is an image](find.png)

Robotask finds tasks with matching keyword




### `view` - Views the schedule of each day

Finds any task scheduled on a specified date

Example of usage:

`view 2022-02-02`

Expected outcome:

![This is an image](View.png)

RoboTask shows the tasks occuring on the date


```
expected output
```
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 docs/View.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 docs/deadline.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 docs/delete.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 docs/done.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 docs/event.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 docs/find.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 docs/todo.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