Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 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
1f072f1
Rename,Greet,Exit
wj200 Jan 30, 2025
61a304a
Level 1. Improve the skeletal version of Duke
wj200 Jan 30, 2025
f1abdd7
Level 1. Improve the skeletal version of Duke
wj200 Jan 30, 2025
120bd07
Level 2.Add, List
wj200 Jan 30, 2025
e35675c
Level 2.Add, List
wj200 Jan 30, 2025
44fb668
Level 2.Add, List
wj200 Jan 30, 2025
dc785c1
Level 3. Mark as Done
wj200 Jan 30, 2025
7abf9d1
Level 4. ToDos, Events, Deadlines
wj200 Jan 31, 2025
debaef6
Level 5. Handle Errors
wj200 Jan 31, 2025
1f82681
Level 6. Delete
wj200 Jan 31, 2025
1e315c6
A-TextUiTesting
wj200 Feb 4, 2025
f89d2d4
refactor - remove all usage of arrays from list(), mark(), unmark()
wj200 Feb 5, 2025
1528c6a
Abstracted horizontal line into a string constant to improve code rea…
wj200 Feb 9, 2025
fa0e68a
Created a new Storage class. Abstracted Storage class and Task (and i…
wj200 Feb 9, 2025
bb87170
Added a simple implementation of a static bye() and greet() method to…
wj200 Feb 9, 2025
7352efb
Changed the method signatures of mark() and unmark(). Changed them in…
wj200 Feb 9, 2025
6d68334
Updated method signatures of addTask, deleteTask, list. Standardizing…
wj200 Feb 11, 2025
7b09268
Added UI class organized into package. Refactoring of Mars.java. Abst…
wj200 Feb 11, 2025
e88418e
Import Java datetime packages
wj200 Feb 11, 2025
e87e38f
Major updates to subclasses of Command. Removed the need for HORIZONT…
wj200 Feb 15, 2025
66016d4
Command, Parser, Storage, Task, and UI packages
wj200 Feb 15, 2025
961ac0b
Merge commit '81a9c537afe8492675eb253968939364d65db091' into A-Gradle
wj200 Feb 15, 2025
6426d33
Add gradle support to an ongoing project
wj200 Feb 15, 2025
ab73c43
Add JUnit tests to test the behaviour of the code
wj200 Feb 17, 2025
c138bc6
Add JAR file. The task shadowJar creates a JAR file with the name Mar…
wj200 Feb 17, 2025
eb0b786
Add findCommand class with method implementations. Add
wj200 Feb 18, 2025
26fec64
Merge pull request #2 from wj200/A-Jar
wj200 Feb 21, 2025
b698470
Rewrite Storage() constructor to elegantly handle the exception case …
wj200 Feb 22, 2025
253480c
Added DialogBox, Launcher, Main, and MainWindow classes
wj200 Feb 22, 2025
f8d9fcf
Updated DialogBox class to handle user inputs
wj200 Feb 23, 2025
7421a77
Added MainWindow and DialogBox fxml files. Trim DialogBox.java to con…
wj200 Feb 23, 2025
4be8e06
Merge pull request #3 from wj200/Level-10
wj200 Feb 23, 2025
9fb5582
Add Assertions
wj200 Feb 23, 2025
f3ee287
Command classes: remove unused import statements
wj200 Feb 23, 2025
66117c7
Merge pull request #4 from wj200/A-Assertions
wj200 Feb 23, 2025
4613858
Merge pull request #5 from wj200/A-CodeQuality
wj200 Feb 23, 2025
741d7a9
Added DoWithin class as a new type of Task
wj200 Feb 23, 2025
ea7437e
Abstract run() method and main() function of Mars class to the getRes…
wj200 Feb 24, 2025
e3fe7dc
Abstract printing functionality of each Command via a setter method i…
wj200 Feb 24, 2025
b2fe523
Fix syntax errors
wj200 Feb 24, 2025
60f00d6
Remove usage of Horizontal Lines
wj200 Feb 24, 2025
9a3a2a3
Fix bugs
wj200 Feb 24, 2025
59bef67
Fix user guide formatting
wj200 Feb 24, 2025
9b2dab5
Remove unused import statements
wj200 Feb 24, 2025
017da52
Added import statements
wj200 Feb 24, 2025
edaec5e
Merge branch 'master' into Do-Within-Task
wj200 Feb 24, 2025
95d4c34
Merge pull request #6 from wj200/Do-Within-Task
wj200 Feb 24, 2025
f339afa
Update README.md
wj200 Feb 24, 2025
4e573b6
Added Product Image
wj200 Feb 24, 2025
edf72eb
Merge remote-tracking branch 'origin/Do-Within-Task' into Do-Within-Task
wj200 Feb 24, 2025
f6af04d
Merge pull request #7 from wj200/Do-Within-Task
wj200 Feb 24, 2025
b65fe8a
Update README.md
wj200 Feb 24, 2025
d18b105
Update README.md
wj200 Feb 24, 2025
4a11670
Update README.md
wj200 Feb 24, 2025
25ae8cf
Update README.md
wj200 Feb 24, 2025
7eaa321
Update README.md
wj200 Feb 24, 2025
4dbd0aa
Update README.md
wj200 Feb 24, 2025
5eef5c9
Update README.md
wj200 Feb 24, 2025
c0beae9
Update README.md
wj200 Feb 24, 2025
3f96154
Update README.md
wj200 Feb 24, 2025
a81eca3
Update README.md
wj200 Feb 24, 2025
43bef2c
Update README.md
wj200 Feb 24, 2025
a36f763
Update README.md
wj200 Feb 24, 2025
e9dd8e0
Update README.md
wj200 Feb 24, 2025
15c0e49
Final JAR file created for version release
wj200 Feb 24, 2025
85f0d16
Merge pull request #8 from wj200/Do-Within-Task
wj200 Feb 24, 2025
052eee2
Update README.md
wj200 Feb 24, 2025
6def738
Update README.md
wj200 Feb 24, 2025
a1d1e20
Update README.md
wj200 Feb 24, 2025
2406ed1
Update README.md
wj200 Feb 24, 2025
7f5f9d2
Update README.md
wj200 Feb 24, 2025
4efc5a1
Update README.md
wj200 Feb 25, 2025
0265e68
Update README.md
wj200 Feb 25, 2025
f343a1a
Update README.md
wj200 Feb 25, 2025
36553f4
Create Ui.png
wj200 Feb 25, 2025
2fc4ea9
Delete docs/Ui.png
wj200 Feb 25, 2025
123ca39
Moved Ui.png to root
wj200 Feb 25, 2025
348941e
Merge pull request #9 from wj200/Do-Within-Task
wj200 Feb 25, 2025
b79b666
Update README.md
wj200 Feb 25, 2025
10766d1
Update README.md
wj200 Feb 25, 2025
407b26b
Update README.md
wj200 Feb 25, 2025
f108e37
Update README.md
wj200 Feb 25, 2025
cf77239
Update README.md
wj200 Feb 25, 2025
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 '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'
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'
}

test {
useJUnitPlatform()

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

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

application {
mainClass.set("mars.ui.Launcher")
}

shadowJar {
archiveBaseName = "Mars"
archiveClassifier = null
}

run{
standardInput = System.in
}
91 changes: 75 additions & 16 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,89 @@
# Duke User Guide
# Mars User Guide

// Update the title above to match the actual product name
Introducing *MARS*! A personal tasklist chatbot to help you better organise your day

// Product screenshot goes here
![UI Image](../docs/Ui.png)

// Product intro goes here
Ever get overwhelmed with Deadlines, Events, ToDos, and DoWithins?
Here is an assistant with a minimalist UI for you! 😄

## Adding deadlines
# Sneak Peek
- [X] Adding Deadlines
- [X] Marking Tasks
- [ ] Reminders *coming soon*

// Describe the action and its outcome.
## Get started
Download the .jar file of your desired version.
Double-click and open file.
The application is ready for use! Start adding tasks and performing other actions.

// Give examples of usage
## Here are the types of Tasks available:
* Todo
* Deadline
* Event
* Do Within *a certain time period*

Example: `keyword (optional arguments)`
## To add a Todo:
format: todo {task name}
*e.g. todo read book*

// A description of the expected outcome goes here
## To add a deadline:
format: deadline {task name} (by: MMM dd yyyy, h:mm a)
*e.g. deadline return book (by: Feb 02 2024, 6:00 pm)*

```
expected output
```
## To add an Event:
format: event {task name} (from: MMM dd yyyy, h:mm a to MMM dd yyyy, h:mm a)
*e.g. event CS2103T project meeting (from: Feb 28 2024, 6:00 am to: Mar 03 2024, 8:00 am)*

## Feature ABC
## To add a DoWithin, run:
format: do within {task name} between: MMM dd yyyy, h:mm a and MMM dd yyyy, h:mm a
*e.g. collect certificate between: Jan 15 2024, 6:00 pm and Jan 25 2024, 6:00 pm*

// Feature details
## If tasks are added successfully, the output would be:

> Got it. I've added this task:
> [T][ ] read book
> Now you have 1 task in the list

## Feature XYZ
> Got it. I've added this task:
> [D][ ] deadline return book by 2024-02-02 18:00
> Now you have 2 tasks in the list

// Feature details
> Got it. I've added this task:
> [E][ ] CS2103T project meeting from: 2024-02-28 06:00 to 2024-03-03 08:00
> Now you have 3 tasks in the list

> Got it. I've added this task:
> [DW][ ] collect certificate between: 2024-01-15 18:00 and 2024-01-25 18:00
> Now you have 4 tasks in the list

## Features:

### Deleting a task
Format: delete {task number}
*eg. delete 1*
> Noted. I have removed this task [T][ ] read book
> Now you have 3 tasks in the list

### Marking a task
Format: mark {task number}
*eg. mark 1*
> Nice! I've marked this task as done: [T][X] read book

### Unmarking a task
Format: unmark {task number}
*eg. unmark 1*
> OK, I've marked this task as not done yet: [T][ ] read book

### List
Format: list
*e.g. list*
> Here are the tasks in your list:
> [T][ ] read book
> [DW][ ] collect certificate between: 2024-01-15 18:00 and 2024-01-25 18:00

### Find a task through keyword
Format: find {keyword}
*eg. find book*
> Here are the matching tasks in your list:
> [T][ ] read book
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.
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-8.10-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading